Glen Fernandes
38cb523713
Derive empty base optimization from rebound allocator
2014-02-18 00:16:57 -08:00
Glen Fernandes
d9333e5375
Simplify array_allocator; update documentation
2014-02-12 19:34:56 -08:00
Glen Fernandes
540149f019
Tidy documentation in smart_ptr
2014-02-04 22:45:58 -08:00
Glen Fernandes
154a274916
Update make_shared for arrays to address 2070
...
This updates make_shared and allocate_shared for arrays in accordance with
report 2070 which requires that allocator_traits<A2>::construct(a2, ptr,
...) is used for construction and allocator_traits<A2>::destroy(a2, ptr)
is used for destruction instead of placement new and destructor
invocation.
2014-02-04 04:46:03 -08:00
Glen Fernandes
2b033ce05d
Improve documentation for make_shared for arrays
2014-02-03 16:42:57 -08:00
Glen Fernandes
ad658fa5ec
Update make shared for arrays documentation
2014-01-29 05:49:07 -08:00
Glen Fernandes
db78d9b2be
Update make_shared for arrays documentation
2014-01-23 21:16:51 -08:00
Glen Fernandes
6df3a0295e
More small cosmetic documentation changes.
...
[SVN r83829]
2013-04-10 05:16:09 +00:00
Glen Fernandes
2d56e85174
Small improvements to make_shared documentation.
...
[SVN r83827]
2013-04-10 05:00:52 +00:00
Glen Fernandes
06c4dacaf2
Correct link in documentation
...
[SVN r82552]
2013-01-20 00:09:27 +00:00
Glen Fernandes
4ba8d879f1
Use BOOST_NO_CXX11_RVALUE_REFERENCES and BOOST_NO_CXX11_VARIADIC_TEMPLATES instead of the legacy macros. Rename identifiers of detail utility functions.
...
[SVN r81886]
2012-12-13 04:04:23 +00:00
Glen Fernandes
5f0155cca6
Documentation corrections: make_shared_array.html
...
[SVN r81867]
2012-12-11 22:44:57 +00:00
Glen Fernandes
ecceb710de
Add overloads of allocate_shared_noinit to complement make_shared_noinit
...
[SVN r81858]
2012-12-11 17:42:47 +00:00
Glen Fernandes
2d3cc0db7d
Update documentation and remove unused code.
...
[SVN r81703]
2012-12-04 11:21:24 +00:00
Glen Fernandes
188602581d
Add overloads of make_shared and allocate_shared for arrays for E&& where E is typename boost::detail::array_base<T>::type
...
[SVN r81700]
2012-12-04 06:06:23 +00:00
Glen Fernandes
cfd4152291
Change make_shared and allocate_shared array form overload for size and inner array initialization list to use const T(&)[N] instead of std::initializer_list<T>.
...
[SVN r81658]
2012-12-01 22:43:57 +00:00
Glen Fernandes
f5adfb0963
Code consistency: Use the same style of #if conditional compilation checks in allocate_shared_array.hpp and make_shared_array.hpp.
...
[SVN r81643]
2012-12-01 05:40:06 +00:00
Glen Fernandes
8597433028
Use BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX instead for certain overloads of make_shared and allocate_shared
...
[SVN r81642]
2012-12-01 05:23:37 +00:00
Glen Fernandes
4da0e2b7fc
Use const T (&)[N] for fixed size arrays instead of std::initializer<T> in overloads of make_shared and allocate_shared for arrays.
...
[SVN r81641]
2012-12-01 04:36:41 +00:00
Glen Fernandes
98b92fa83a
Minor corrections in make_shared_array.html documentation.
...
[SVN r81431]
2012-11-20 04:07:58 +00:00
Glen Fernandes
392885a56a
Update documentation for make_shared and allocate_shared array forms.
...
[SVN r81430]
2012-11-20 03:00:02 +00:00
Glen Fernandes
3f458c68f4
Documentation of make_shared_array: Minor corrections
...
[SVN r81408]
2012-11-18 01:51:46 +00:00
Glen Fernandes
6b2556edfb
Add additional overload for allocate_shared and make_shared array forms that take initializer list of T for the array types T[M][N]
...
[SVN r81341]
2012-11-14 15:18:50 +00:00
Glen Fernandes
980070e63f
Add final overload of make_shared and allocate_shared (array forms) for T[][N] with C++11 initializer lists.
...
[SVN r81275]
2012-11-10 01:33:29 +00:00
Glen Fernandes
2731957b5b
Add additional overload for make_shared and allocate_shared for arrays for fixed size arrays and initializer lists.
...
[SVN r81266]
2012-11-09 17:30:07 +00:00
Glen Fernandes
fe06c120b9
Add overloads to support fixed size arrays, T[N], to allocate_shared (variadic) and make_shared (variadic) and make_shared_noinit.
...
[SVN r81265]
2012-11-09 17:12:56 +00:00
Glen Fernandes
6662ae7242
Add allocate_shared and make_shared for shared_ptr arrays of runtime size. Fulfills need for allocate_shared_array and make_shared_array.
...
[SVN r81219]
2012-11-06 14:17:32 +00:00