diff --git a/make_shared_array.html b/make_shared_array.html index f2dbe40..2c0d5fc 100644 --- a/make_shared_array.html +++ b/make_shared_array.html @@ -34,17 +34,17 @@ template<typename T, typename A> shared_ptr<T[]> allocate_shared(const A& allocator, size_t size); - + #if defined(BOOST_HAS_VARIADIC_TMPL) && defined(BOOST_HAS_RVALUE_REFS) template<typename T, typename... Args> shared_ptr<T[]> make_shared(size_t size, Args&&... args); - + template<typename T, typename... Args> shared_ptr<T[N]> make_shared(Args&&... args); - + template<typename T, typename A, typename... Args> shared_ptr<T[]> allocate_shared(const A& allocator, size_t size, Args&&... args); - + template<typename T, typename A, typename... Args> shared_ptr<T[N]> allocate_shared(const A& allocator, Args&&... args); #endif @@ -52,32 +52,32 @@ #if !defined(BOOST_NO_CXX11_HDR_INITIALIZER_LIST) template<typename T, typename... Args> shared_ptr<T[]> make_shared(initializer_list<T> list); - + template<typename T, typename... Args> shared_ptr<T[N]> make_shared(initializer_list<T> list); - + template<typename T, typename... Args> - shared_ptr<T[][N]> make_shared(size_t size, initializer_list<T[N]> list); - + shared_ptr<T[][N]> make_shared(size_t size, initializer_list<T> list); + template<typename T, typename... Args> - shared_ptr<T[M][N]> make_shared(initializer_list<T[N]> list); + shared_ptr<T[M][N]> make_shared(initializer_list<T> list); template<typename T, typename A, typename... Args> shared_ptr<T[]> allocate_shared(const A& allocator, initializer_list<T> list); - + template<typename T, typename A, typename... Args> shared_ptr<T[N]> allocate_shared(const A& allocator, initializer_list<T> list); - + template<typename T, typename A, typename... Args> - shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T[N]> list); - + shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T> list); + template<typename T, typename A, typename... Args> - shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T[N]> list); + shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T> list); #endif template<typename T> shared_ptr<T[]> make_shared_noinit(size_t size); - + template<typename T> shared_ptr<T[N]> make_shared_noinit(); } @@ -149,17 +149,17 @@ template<typename T, typename A, typename... Args> fixed size array.

template<typename T, typename... Args>
-    shared_ptr<T[][N]> make_shared(size_t size, initializer_list<T[N]> list);
+    shared_ptr<T[][N]> make_shared(size_t size, initializer_list<T> list);
 template<typename T, typename A, typename... Args>
-    shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T[N]> list);
+ shared_ptr<T[][N]> allocate_shared(const A& allocator, size_t size, initializer_list<T> list);

Description: These overloads initialize inner array elements from the initializer list.

template<typename T, typename... Args>
-    shared_ptr<T[M][N]> make_shared(initializer_list<T[N]> list);
+    shared_ptr<T[M][N]> make_shared(initializer_list<T> list);
 template<typename T, typename A, typename... Args>
-    shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T[N]> list);
+ shared_ptr<T[M][N]> allocate_shared(const A& allocator, initializer_list<T> list);

Description: These overloads of the utilities above are for a fixed size array.