libycxx

function template · 2 overloads

std::allocate_shared_for_overwrite

Header
<memory>
Scope
std

Overloads

  1. template<class T, class A>
      requires (!is_unbounded_array_v<T>)
    constexpr shared_ptr<T> allocate_shared_for_overwrite(const A& a);
    (1)
  2. template<class T, class A>
      requires is_unbounded_array_v<T>
    constexpr shared_ptr<T> allocate_shared_for_overwrite(const A& a, size_t N);
    (2)