Andrey Semashev
9fc2a2f1ac
Renamed boost::swap to boost::core::invoke_swap, deprecated boost::swap.
...
The rename allows to avoid forming an infinite recursion in compile time
(because of noexcept specification that needs to resolve the unqualified call
to swap) or run time (in case if the boost::swap function is the only one
suitable for the passed arguments).
To avoid the compile-time recursion, removed noexcept specification from
boost::swap. The specification is still present in boost::core::invoke_swap.
Deprecated boost::swap and associated headers. boost::core::invoke_swap
is defined in a new boost/core/invoke_swap.hpp header.
Updated docs and tests. Removed tests that check inclusion of deprecated
headers.
Fixes https://github.com/boostorg/core/issues/148 .
2023-07-12 12:17:07 +03:00
Andrey Semashev
2738af9b52
Removed the deprecated empty_deleter header.
2017-09-18 02:02:38 +03:00
Andrey Semashev
a96e8b977b
Added missing copyright comments. Corrected links to the documentation on the comments.
2014-06-12 02:10:34 +04:00
Glen Fernandes
91425e85c4
Remove empty_deleter from core
2014-06-02 19:56:37 -07:00
Glen Fernandes
60c9a35d86
Move headers to core; add quickbook documentation
2014-06-02 00:46:33 -07:00
Andrey Semashev
186668525e
Renamed empty_deleter to null_deleter. Deprecated the old header.
2014-06-01 22:28:02 +04:00
Andrey Semashev
d0c9dca64d
Corrected BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT macro name in one branch.
2014-06-01 22:03:45 +04:00
Eric Niebler
31b36d136d
value_init and swap work on nvidia gpu's
2014-06-01 21:58:51 +04:00
Niels Dekker
bf03fdf924
Added explanatory comments, requested by Isaac Dupree, "Re: [boost] [swap] Renaming boost_swap_impl::swap_impl and/or its namespace?", http://lists.boost.org/Archives/boost/2008/08/141007.php
...
[SVN r48171]
2014-06-01 21:58:50 +04:00
Joseph Gauterin
7175e02424
Updated copyright info.
...
[SVN r47971]
2014-06-01 21:58:50 +04:00
Joseph Gauterin
f05e7b2785
Changed 'using std::swap;' to 'using namesapce std;' in swap_impl function to work around ADL bugs in some compilers.
...
[SVN r47967]
2014-06-01 21:58:50 +04:00
Niels Dekker
e94718427e
Removed swap_adl_barrier namespace, as discussed at "Re: [boost] [swap] How to fix ADL barrier for XL, Intel, GCC, Sun and Como?", http://lists.boost.org/Archives/boost/2008/07/140511.php
...
[SVN r47920]
2014-06-01 21:58:50 +04:00
Niels Dekker
a4ca527770
Applied "swap.hpp.patch" by Steven Watanabe, "Re: [boost] [swap] How to fix ADL barrier for XL, Intel, GCC, Sun and Como?", http://lists.boost.org/Archives/boost/2008/07/140482.php
...
[SVN r47877]
2014-06-01 21:58:50 +04:00
Joseph Gauterin
a3d73aed75
Moved utility\swap to the trunk, as discussed in trac issue #2056 .
...
[SVN r47093]
2014-06-01 21:58:50 +04:00
Andrey Semashev
db06972ba3
Extracted empty_deleter to Boost.Utility.
...
[SVN r85577]
2014-06-01 21:58:37 +04:00
Andrey Semashev
aaadc128f3
Added a new macro BOOST_EXPLICIT_OPERATOR_BOOL_NOEXCEPT, which implements a noexcept operator. Also added explicit noexcept specification for the constexpr macro.
2014-06-01 21:55:26 +04:00
Andrey Semashev
1c247b7fe7
Attempt to work around explicit_operator_bool_compile_fail_conv_pvoid test failure for VACPP.
...
[SVN r85570]
2014-06-01 21:55:26 +04:00
Andrey Semashev
e9a53f2e69
Extracted BOOST_EXPLICIT_OPERATOR_BOOL macro from Boost.Log.
...
[SVN r85543]
2014-06-01 21:55:26 +04:00
Peter Dimov
779e2b30de
Fix addressof for nullptr_t values. Fixes #5487 .
2014-06-01 01:15:50 +03:00
Joel Falcou
000e6d6f04
Fix #9170 - Add BOOST_FORCEINLINE in address_of for performance issues
...
[SVN r86125]
2014-06-01 01:15:48 +03:00
Vicente J. Botet Escriba
86bfb22ec0
Utility: address_of take care of #7079 .
...
[SVN r83429]
2014-06-01 01:15:46 +03:00
Eric Niebler
4a2d4813b3
eliminate noisy warning on msvc, fixes #2993
...
[SVN r52837]
2014-06-01 01:15:44 +03:00
Peter Dimov
868403700d
Another try at the Sun workaround.
...
[SVN r52010]
2014-06-01 01:15:44 +03:00
Peter Dimov
00e75d78e7
Try the Sun workaround with int instead of size_t.
...
[SVN r51986]
2014-06-01 01:15:44 +03:00
Peter Dimov
dc33c13d86
Try to fix array addressof failures on Sun C++.
...
[SVN r51977]
2014-06-01 01:15:43 +03:00
Peter Dimov
31caf21d8b
Disable new addressof code for all Borland versions. Refs #2878 .
...
[SVN r51891]
2014-06-01 01:15:43 +03:00
Peter Dimov
2f4e34a658
Attempt to fix addressof in trunk to handle classes with conversion operators. Refs #2878 .
...
[SVN r51872]
2014-06-01 01:15:42 +03:00
Beman Dawes
2af0215fdd
With his kind permission, change Jaakko "Järvi" to "Jarvi"
...
[SVN r46808]
2014-06-01 01:15:40 +03:00
Peter Dimov
f2bc4dc731
Fix #1846 .
...
[SVN r44705]
2014-06-01 01:15:40 +03:00
Marshall Clow
be620e23a3
Replaced all occurrences of non-ASCII copyright symbol with '(c)' for people using non-ASCII code pages
...
[SVN r43992]
2014-06-01 01:15:39 +03:00
Peter Dimov
6de0794761
Removed type_traits include, added more tests
...
[SVN r27712]
2014-06-01 01:15:37 +03:00
Eric Niebler
c52d81a792
work-around for Borland addressof(array) bug and associated tests
...
[SVN r27656]
2014-06-01 01:15:37 +03:00
Douglas Gregor
24b1179772
Converted to Boost Software License, Version 1.0
...
[SVN r24096]
2014-06-01 01:15:31 +03:00
Douglas Gregor
d3a1203215
Doug Gregor -> Douglas Gregor
...
[SVN r24016]
2014-06-01 01:15:29 +03:00
Eric Friedman
cdbc1a2db5
Improved workarounds.
...
[SVN r21157]
2014-06-01 01:15:28 +03:00
Jaakko Järvi
22e7bff2af
added dummy versions of enable_if templates for platforms that have BOOST_NO_SFINAE defined
...
[SVN r21154]
2014-06-01 01:15:27 +03:00
Jaakko Järvi
834a592f44
guarded enable_if definitions with BOOST_NO_SFINAE
...
[SVN r21149]
2014-06-01 01:15:27 +03:00
Jaakko Järvi
ceedace2e3
Added enable_if library
...
[SVN r21090]
2014-06-01 01:15:26 +03:00
Dave Abrahams
9db43ee00f
Workaround VC7 bug which strips const from nested classes
...
[SVN r16797]
2014-06-01 01:15:21 +03:00
Peter Dimov
5185b371af
MSVC fixes.
...
[SVN r13476]
2014-06-01 01:15:17 +03:00
Douglas Gregor
72c113f795
addressof.hpp: - Peter Dimov suggested a fix to deal with those evil cv-qualifiers
...
[SVN r13431]
2014-06-01 01:15:16 +03:00
Douglas Gregor
a5db30a747
Make local classes nonlocal to silence annoying warnings from Borland C++
...
[SVN r13418]
2014-06-01 01:15:15 +03:00
Douglas Gregor
380e34f2be
boost/utility.hpp: - Include boost/utility/addressof.hpp
...
boost/utility/addressof.hpp:
- addressof() implementation
libs/utility/utility.htm:
- Document addressof
libs/utility/addressof_test.cpp:
- Test addressof()
[SVN r13414]
2014-06-01 01:15:14 +03:00