Commit Graph

355 Commits

Author SHA1 Message Date
Stephen Kelly
1bd3e787a2 Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2014-06-01 13:21:23 -07:00
Ion Gaztañaga
c9632a24d3 Added BOOST_TEST_THROWS
[SVN r83433]
2014-06-01 13:21:23 -07:00
Peter Dimov
d7b58d0da5 Add hash_value for shared_ptr; prevents hash_value( bool ) from being used. Refs #5216.
[SVN r69260]
2014-06-01 13:21:23 -07:00
Beman Dawes
bcb3b9e567 Add BOOST_ASSERT_MSG. Add macros to configure output stream.
[SVN r68414]
2014-06-01 13:21:23 -07:00
Beman Dawes
af6f2ccfcd Add BOOST_ASSERT that report_errors() has been called.
[SVN r64987]
2014-06-01 13:21:23 -07:00
Beman Dawes
4ed3f44fd6 Revert change committed in error
[SVN r64929]
2014-06-01 13:21:23 -07:00
Beman Dawes
53922f4ef3 Remove path array optimization; problematic when array contains a string shorter than the array length. Reported by Adam Badura.
[SVN r64928]
2014-06-01 13:21:23 -07:00
Peter Dimov
94fd321f06 Add BOOST_TEST_EQ.
[SVN r51976]
2014-06-01 13:21:23 -07:00
Douglas Gregor
497f9ef81b Converted to Boost Software License, Version 1.0
[SVN r24055]
2014-06-01 13:21:23 -07:00
Joaquín M. López Muñoz
7c062e52cc initial commit
[SVN r22759]
2014-06-01 13:21:23 -07:00
Peter Dimov
1fa413690a _MSC_VER use clarified.
[SVN r20992]
2014-06-01 13:21:23 -07:00
Peter Dimov
0a34383ede -Wundef fixes.
[SVN r18788]
2014-06-01 13:21:23 -07:00
Peter Dimov
9be5d2ebe7 Major changes to shared_ptr and weak_ptr
[SVN r16314]
2014-06-01 13:21:23 -07:00
Peter Dimov
32bcaea3b2 Switched to <boost/detail/lightweight_test.hpp> for testing.
[SVN r14932]
2014-06-01 13:21:23 -07:00
Andrey Semashev
af6d29769d Moved from Boost.Utility. 2014-06-01 22:34:38 +04: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
8ad3288b0b Remove mpl::bool_ dependency from ref.hpp, clean up a bit. 2014-06-01 03:52:44 +03:00
Andrey Semashev
4d19020313 Fix compilation with gcc 4.5 in C++11 mode
Gcc 4.5 does not allow non-public defaulted functions, so fall back to the C++03 version. Also replaced the deprecated macros with the new ones and adjusted formatting.
2014-06-01 01:15:51 +03:00
Peter Dimov
ebd6aff12a Revert incorrect reversion of adf57817ec09cb8edd6032a30da6daec3edbe23f 2014-06-01 01:15:51 +03:00
Peter Dimov
779e2b30de Fix addressof for nullptr_t values. Fixes #5487. 2014-06-01 01:15:50 +03:00
Peter Dimov
1c98320b6e Revert "Ref: Remove obsolete MSVC version check."
This reverts commit adf57817ec09cb8edd6032a30da6daec3edbe23f.

Conflicts:
	include/boost/ref.hpp
2014-06-01 01:15:50 +03:00
Peter Dimov
a608977aef Revert "Remove obsolete MSVC check from pragma guard"
This reverts commit 1fd5883b345a3c230daaad8ee93af5bc8f3209d5.
2014-06-01 01:15:49 +03:00
Stephen Kelly
aeaf9ecf8a Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2014-06-01 01:15:49 +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
Joel Falcou
5c4b2ffc39 Fix #9169 - Add BOOST_FORCEINLINE on boost::ref for performance issue
[SVN r86124]
2014-06-01 01:15:48 +03:00
Stephen Kelly
999b417ae2 Ref: Remove obsolete MSVC version check.
[SVN r86031]
2014-06-01 01:15:47 +03:00
Stephen Kelly
da934c4ecf Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2014-06-01 01:15:47 +03:00
Vicente J. Botet Escriba
f8aa53fe71 Utility/noncopyable: Make use of =delete #6578.
[SVN r83833]
2014-06-01 01:15:46 +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
Peter Dimov
e45f2cd9d3 Refs #2128 (fixed in trunk.)
[SVN r51512]
2014-06-01 01:15:42 +03:00
Ronald Garcia
0f0591c3e7 Added unwrap_ref.
[SVN r47295]
2014-06-01 01:15:41 +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
06d5bbef08 Borland 5.81 fix (Alisdair Meredith)
[SVN r33161]
2014-06-01 01:15:38 +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
Aleksey Gurtovoy
d778ba1a08 merge RC_1_32_0 fixes
[SVN r26328]
2014-06-01 01:15:35 +03:00
Dave Abrahams
3e2cb017b0 fix noncopyable, finally
[SVN r24618]
2014-06-01 01:15:34 +03:00
Dave Abrahams
9d5fc9ece7 ADL protection
[SVN r24595]
2014-06-01 01:15:34 +03:00
Dave Abrahams
d712f4afd1 ADL protection
[SVN r24564]
2014-06-01 01:15:33 +03:00
Douglas Gregor
4f521dc58c Moved to BSL
[SVN r24446]
2014-06-01 01:15:33 +03:00
John Maddock
f4d0abf98b Removed boost.org copyright assignments, and reverted to orginal author (as based on cvs history).
[SVN r24402]
2014-06-01 01:15:32 +03:00
John Maddock
7bd4d002af Removed Boost.org copyrights and replaced with originating authors copyright instead.
[SVN r24372]
2014-06-01 01:15:32 +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
766a85b678 Converted to Boost Software License, Version 1.0
[SVN r24055]
2014-06-01 01:15:30 +03:00
Douglas Gregor
d3a1203215 Doug Gregor -> Douglas Gregor
[SVN r24016]
2014-06-01 01:15:29 +03:00
Dave Abrahams
7a1400291d pro9 workarounds; some ADL protection for is_xxx
[SVN r21529]
2014-06-01 01:15:28 +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
Peter Dimov
5a900e5817 _MSC_VER use clarified.
[SVN r20992]
2014-06-01 01:15:26 +03:00
Daniel Frey
e6d3d3dbb1 Fix for Metrowerks CW
[SVN r19626]
2014-06-01 01:15:25 +03:00
Peter Dimov
82aa7bfcbc Fixed Intel 7 issue (reported by Daniel Frey)
[SVN r19145]
2014-06-01 01:15:24 +03:00
Peter Dimov
5da17fb9ef -Wundef fixes.
[SVN r18788]
2014-06-01 01:15:24 +03:00
Aleksey Gurtovoy
e1296cf76b MPL names/directory structure refactoring
[SVN r17651]
2014-06-01 01:15:23 +03:00
Peter Dimov
d1b6b6a41c Qualified checked_delete calls to prevent ADL (reported by Daniel Frey)
[SVN r17636]
2014-06-01 01:15:22 +03:00
Dave Abrahams
dc49e07203 fix metafunctions for MPL
[SVN r17621]
2014-06-01 01:15:22 +03:00
Aleksey Gurtovoy
3c00d03d37 split utility.hpp header
[SVN r17472]
2014-06-01 01:15:22 +03:00
Peter Dimov
3bbcb3aff2 Made operator()s const.
[SVN r17411]
2014-06-01 01:15:21 +03:00
Dave Abrahams
9db43ee00f Workaround VC7 bug which strips const from nested classes
[SVN r16797]
2014-06-01 01:15:21 +03:00
Beman Dawes
c54b0184bb Add /libs/lib-name to comment
[SVN r16685]
2014-06-01 01:15:20 +03:00
Peter Dimov
c5fdd6e951 checked_delete.hpp documentation added.
[SVN r16238]
2014-06-01 01:15:20 +03:00
Peter Dimov
41354ce3a1 Changed typename to class; some libraries helpfully #define typename
[SVN r15970]
2014-06-01 01:15:19 +03:00
John Maddock
6e498682d1 Misc Kylix fixes
[SVN r15086]
2014-06-01 01:15:18 +03:00
John Maddock
dbfe562a3f Borland C++ Builder 6 fixes
[SVN r13659]
2014-06-01 01:15:17 +03:00
Peter Dimov
5185b371af MSVC fixes.
[SVN r13476]
2014-06-01 01:15:17 +03:00
Dave Abrahams
bb94cb5a5d Roll addressof() patch back in!
[SVN r13433]
2014-06-01 01:15:16 +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
Dave Abrahams
49938f88e8 Roll back addressof() patch temporarily
[SVN r13428]
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
7c48c7ad28 ref.hpp: - Use addressof() instead of & operator
[SVN r13416]
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
Douglas Gregor
7cc6436afc boost/ref.hpp: - Added get_pointer method to return a pointer (instead of a reference)
libs/bind/ref.html:
  - Document get_pointer

[SVN r13322]
2014-06-01 01:15:14 +03:00
Dave Abrahams
0fb3e58881 Added Copyright
[SVN r13145]
2014-06-01 01:15:13 +03:00
Peter Dimov
32e43f35e2 Added a default constructor to shared_count and shared_ptr for incomplete types (void).
[SVN r12815]
2014-06-01 01:15:13 +03:00
Aleksey Gurtovoy
1c3cd876d6 made 'reference_wrapper' Assignable
[SVN r12520]
2014-06-01 01:15:11 +03:00
Dave Abrahams
b22469f950 added missing #include of boost/config.hpp
[SVN r12483]
2014-06-01 01:15:11 +03:00
Peter Dimov
47c046fa8e Modified is_reference_wrapper<> to work for reference types.
[SVN r12475]
2014-06-01 01:15:10 +03:00
Dave Abrahams
42d2ad8f07 added is_reference_wrapper<>, unwrap_reference<>
[SVN r12470]
2014-06-01 01:15:09 +03:00
Peter Dimov
d25904e4d5 Smart pointer enhancements, initial commit
[SVN r12439]
2014-06-01 01:15:09 +03:00
Peter Dimov
54963bff32 #undef BOOST_REF_CONST added
[SVN r11674]
2014-06-01 01:15:08 +03:00
Peter Dimov
d198eecb61 Fixed a bug w/ adaptable function objects + nested binds, made ref<> return const
[SVN r11670]
2014-06-01 01:15:08 +03:00
Peter Dimov
853f2daae5 __stdcall support added.
[SVN r11649]
2014-06-01 01:15:07 +03:00
Peter Dimov
9884fdb1bc Tabs converted to spaces.
[SVN r10916]
2014-06-01 01:15:07 +03:00
Peter Dimov
7c5387626b initial commit
[SVN r10914]
2014-06-01 01:15:07 +03:00