function template · 2 overloads
std::make_shared_for_overwrite
- Header
<memory>- Draft
- [memory.syn]
- Scope
std- cppreference
- std::make_shared_for_overwrite
Overloads
- (1)
template<class T> requires (!is_unbounded_array_v<T>) constexpr shared_ptr<T> make_shared_for_overwrite(); - (2)
template<class T> requires is_unbounded_array_v<T> constexpr shared_ptr<T> make_shared_for_overwrite(size_t N);