Peter Dimov
dcc1713c59
Merged revision(s) 82351 from trunk: Replace std::nullptr_t with boost::detail::sp_nullptr_t.
...
[SVN r82427]
2013-01-09 23:41:31 +00:00
Glen Fernandes
32a28ec462
Support BOOST_NO_EXCEPTIONS in detail/array_utility.hpp to allow use when exceptions are disabled
...
[SVN r82408]
2013-01-08 21:39:54 +00:00
Peter Dimov
f6d5257597
Merged revision(s) 82349 from trunk: Update documentation for nullptr, owner_before, explicit operator bool.
...
[SVN r82357]
2013-01-04 18:44:47 +00:00
Peter Dimov
ef817e91d2
Replace std::nullptr_t with boost::detail::sp_nullptr_t.
...
[SVN r82351]
2013-01-04 15:41:13 +00:00
Peter Dimov
43b43aa83a
Update documentation for nullptr, owner_before, explicit operator bool.
...
[SVN r82349]
2013-01-04 14:26:56 +00:00
Peter Dimov
d3a549e93a
Merged revision(s) 82188 from trunk: Untabify.
...
[SVN r82189]
2012-12-23 16:07:27 +00:00
Peter Dimov
e8be24c003
Untabify.
...
[SVN r82188]
2012-12-23 16:05:00 +00:00
Glen Fernandes
c55ffa1cab
Merge Jamfile.v2 from trunk
...
[SVN r82084]
2012-12-18 19:09:57 +00:00
Glen Fernandes
66f34142be
Fix cxxflags in smart_ptr/test/Jamfile.v2
...
[SVN r82070]
2012-12-18 09:24:31 +00:00
Glen Fernandes
63834f7233
Specify gcc-4.6 instead of gcc-4.6.3 for toolset
...
[SVN r82038]
2012-12-16 23:03:30 +00:00
Peter Dimov
049d0698b7
Manually apply a change from [58306] that didn't get merged at the time.
...
[SVN r82026]
2012-12-16 16:20:03 +00:00
Peter Dimov
5ba3312519
Merged revision(s) 81900-81901 from trunk:
...
Replace use of BOOST_HAS_RVALUE_REFS with !BOOST_NO_CXX11_RVALUE_REFERENCES.
........
Replace use of BOOST_HAS_VARIADIC_TMPL with !BOOST_NO_CXX11_VARIADIC_TEMPLATES.
........
[SVN r81979]
2012-12-15 20:20:20 +00:00
Glen Fernandes
bb700870c0
Specify <cxxflags>-fno-deduce-init-list for gcc-4.6.3 only.
...
[SVN r81950]
2012-12-14 20:05:03 +00:00
Glen Fernandes
6a218a5ef2
Merged revision(s) 81886,81887,81894,81905 from trunk:
...
Use BOOST_NO_CXX11_RVALUE_REFERENCES and BOOST_NO_CXX11_VARIADIC_TEMPLATES instead of the legacy macros. Rename identifiers of detail utility functions.
........
Two detail utility functions identifier renaming reverted
........
Remove -fno-deduce-init-list for certain tests in Jamfile.v2
........
Correct call to init_list in make_shared and allocate_shared. Move g++ failing case into separate test to not mask other issues.
........
[SVN r81945]
2012-12-14 18:35:03 +00:00
Glen Fernandes
e36689bd5e
Correct call to init_list in make_shared and allocate_shared. Move g++ failing case into separate test to not mask other issues.
...
[SVN r81905]
2012-12-13 18:02:25 +00:00
Peter Dimov
1c070b3a32
Replace use of BOOST_HAS_VARIADIC_TMPL with !BOOST_NO_CXX11_VARIADIC_TEMPLATES.
...
[SVN r81901]
2012-12-13 16:57:55 +00:00
Peter Dimov
647f67aabf
Replace use of BOOST_HAS_RVALUE_REFS with !BOOST_NO_CXX11_RVALUE_REFERENCES.
...
[SVN r81900]
2012-12-13 16:48:57 +00:00
Peter Dimov
c14369aac9
Merged revision(s) 81860-81861 from trunk:
...
Change make_shared to use the new _internal_get_untyped_deleter. Fixes #6830 .
........
Add allocate_shared_noinit.
........
[SVN r81899]
2012-12-13 14:57:12 +00:00
Peter Dimov
7ab4f6ce92
Merged revision(s) 72437 from trunk: Lock-free sp_counted_base for SNC/PS3, thanks Peter Dimov
...
[SVN r81898]
2012-12-13 14:53:09 +00:00
Glen Fernandes
bbf0245248
Remove -fno-deduce-init-list for certain tests in Jamfile.v2
...
[SVN r81894]
2012-12-13 12:21:44 +00:00
Glen Fernandes
619b168614
Two detail utility functions identifier renaming reverted
...
[SVN r81887]
2012-12-13 04:20:23 +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
c28bef2e9b
Merged revision(s) 81858,81859,81865,81867 from trunk:
...
Add overloads of allocate_shared_noinit to complement make_shared_noinit
........
Explicitly name detail array construct overloads for different parameter types.
........
Use _internal_get_untyped_deleter in allocate_shared_array and make_shared_array
........
Documentation corrections: make_shared_array.html
........
[SVN r81882]
2012-12-12 22:57:03 +00:00
Glen Fernandes
5f0155cca6
Documentation corrections: make_shared_array.html
...
[SVN r81867]
2012-12-11 22:44:57 +00:00
Glen Fernandes
db542de908
Use _internal_get_untyped_deleter in allocate_shared_array and make_shared_array
...
[SVN r81865]
2012-12-11 20:51:05 +00:00
Glen Fernandes
5fc6fe474b
Merged revision(s) 81844 from trunk:
...
Correct link to http://www.stroustrup.com/wrapper.pdf in sp_techniques.html
........
[SVN r81863]
2012-12-11 18:42:48 +00:00
Peter Dimov
d42ce87557
Merged revision(s) 81780 from trunk: Use explicit operator bool when available; add nullptr support to shared_ptr. Fixes #4116 .
...
[SVN r81862]
2012-12-11 18:35:21 +00:00
Peter Dimov
67f5e9825e
Add allocate_shared_noinit.
...
[SVN r81861]
2012-12-11 18:32:24 +00:00
Peter Dimov
fd52dbc411
Change make_shared to use the new _internal_get_untyped_deleter. Refs #6830 .
...
[SVN r81860]
2012-12-11 18:21:29 +00:00
Glen Fernandes
6e269872df
Explicitly name detail array construct overloads for different parameter types.
...
[SVN r81859]
2012-12-11 18:04:09 +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
9863467152
Correct link to http://www.stroustrup.com/wrapper.pdf in sp_techniques.html
...
[SVN r81844]
2012-12-10 23:48:00 +00:00
Glen Fernandes
b306c9751f
Merged revision(s) 81748-81750,81752,81759,81782 from trunk:
...
Refactoring in detail array_deleter before adding support for special-casing trivially default-constructible construction and trivially destroyable destruction.
........
Special case array construction for trivially default-constructible types and array destruction for trivially-destroyable types.
........
Optimization in initialization overload of array_construct for compilers to optimize it into the equivalent of a memset
........
Correctly use r-value reference semantics for Args and T in array utilities
........
Change ordering of overload definitions in array_utility.hpp
........
Convert function parameter for inner array size into template parameter and make identifiers in array_deleter consistent with those in array_utility
........
[SVN r81800]
2012-12-08 18:30:27 +00:00
Glen Fernandes
6b0d96af96
Convert function parameter for inner array size into template parameter and make identifiers in array_deleter consistent with those in array_utility
...
[SVN r81782]
2012-12-08 05:25:50 +00:00
Peter Dimov
c03bfd0b4d
Merged revision(s) 81730-81731, 81776 from trunk:
...
Fix get_pointer for the array case, add operator= for unique_ptr, update auto_ptr signatures to use rvalue reference when available.
........
Update shared_ptr.htm.
........
Add more unique_ptr tests.
........
[SVN r81781]
2012-12-08 00:57:04 +00:00
Peter Dimov
8093967da7
Use explicit operator bool when available; add nullptr support to shared_ptr. Refs #4116 .
...
[SVN r81780]
2012-12-08 00:51:59 +00:00
Peter Dimov
7a4ad75f5d
Add more unique_ptr tests.
...
[SVN r81776]
2012-12-07 22:42:56 +00:00
Glen Fernandes
f390d9e265
Change ordering of overload definitions in array_utility.hpp
...
[SVN r81759]
2012-12-07 16:40:20 +00:00
Glen Fernandes
ea22982865
Correctly use r-value reference semantics for Args and T in array utilities
...
[SVN r81752]
2012-12-07 07:42:42 +00:00
Glen Fernandes
09e77bc8df
Optimization in initialization overload of array_construct for compilers to optimize it into the equivalent of a memset
...
[SVN r81750]
2012-12-07 06:45:26 +00:00
Glen Fernandes
b3f2ebedbc
Special case array construction for trivially default-constructible types and array destruction for trivially-destroyable types.
...
[SVN r81749]
2012-12-07 03:10:22 +00:00
Glen Fernandes
1209531fe0
Refactoring in detail array_deleter before adding support for special-casing trivially default-constructible construction and trivially destroyable destruction.
...
[SVN r81748]
2012-12-07 01:53:35 +00:00
Peter Dimov
6c2ed927e4
Update shared_ptr.htm.
...
[SVN r81731]
2012-12-06 03:20:46 +00:00
Peter Dimov
7a733263da
Fix get_pointer for the array case, add operator= for unique_ptr, update auto_ptr signatures to use rvalue reference when available.
...
[SVN r81730]
2012-12-06 03:18:54 +00:00
Glen Fernandes
08e5894510
Merged revisions 81700,81703 from trunk:
...
Add overloads of make_shared and allocate_shared for arrays for E&& where E is typename boost::detail::array_base<T>::type
........
Update documentation and remove unused code.
........
[SVN r81716]
2012-12-05 04:28:20 +00:00
Glen Fernandes
3551d17566
Merged revision 81463 from trunk:
...
Update shared_ptr casts.
........
[SVN r81715]
2012-12-05 04:13:51 +00:00
Peter Dimov
32fe0b8f26
Merged revision(s) 81488 from trunk: Apply patch from #7722 . Fixes #7722 .
...
[SVN r81714]
2012-12-05 03:44:40 +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
88c2baa20b
Merged revision(s) 81684-81685 from trunk:
...
For fixed size arrays upon constructor exception thrown destroy correctly.
........
Minor cosmetic change in detail array_deleter
........
[SVN r81695]
2012-12-03 15:42:15 +00:00