Andrey Semashev
2738af9b52
Removed the deprecated empty_deleter header.
2017-09-18 02:02:38 +03:00
Peter Dimov
3792047e09
Reorder includes per best practices
2017-07-22 11:19:17 +03:00
Glen Fernandes
09f4823baa
Add free function to_address
2017-07-21 07:14:02 -04:00
Glen Fernandes
ac6044769f
Add free function to_address
2017-07-21 06:21:50 -04:00
Glen Fernandes
2876914d02
ptr_traits_address helper should be marked inline
2017-07-18 14:15:03 -04:00
Kohei Takahashi
3a2c94df8c
Added BOOST_TEST_GT and BOOST_TEST_GE.
...
Just LT and LE are insufficient for testing operator overloads.
2017-06-18 01:10:43 +09:00
Glen Fernandes
0f8b499bca
Use workaround.hpp from boost/config
2017-06-13 23:24:38 -04:00
Glen Fernandes
cccac1d631
Revert "Slightly more succint sfinae expressions"
2017-06-11 10:53:56 -04:00
Glen Fernandes
6153eebc42
Slightly more succint sfinae expressions
2017-06-11 10:17:35 -04:00
Peter Dimov
637b2ffaff
Make BOOST_TEST_EQ/NE work with nullptr
2017-05-29 21:15:49 +03:00
Glen Fernandes
5eaa31e366
Use BOOST_NO_CXX11_POINTER_TRAITS macro
2017-05-20 09:11:11 -04:00
Glen Fernandes
2d56d6f55b
Improve ptr_traits_has_rebind trait
2017-05-18 20:09:52 -04:00
Glen Fernandes
6fd649d7fd
Qualify pointer_traits in detail namespace
2017-05-18 07:09:26 -04:00
Glen Fernandes
26cab26e52
Add pointer_traits with to_address
2017-05-17 08:09:05 -04:00
Glen Fernandes
80875a19b6
Reduce detection conditions for constexpr addressof
2017-04-30 21:56:10 -04:00
Glen Fernandes
dc6003e26f
Disable addressof for r-values when possible
2017-04-23 02:04:54 -04:00
Peter Dimov
46545326d8
Add BOOST_TEST_LT, BOOST_TEST_LE
2017-03-16 01:31:43 +02:00
Bjorn Reese
a3382dd5a8
Added BOOST_TEST_ALL_WITH macro to compare container contents with a predicate
2017-02-18 13:43:29 +01:00
Bjorn Reese
baed4103a0
Optimized calculation of container sizes
2017-02-12 15:08:25 +01:00
Bjorn Reese
d828e40f6d
Output at most 8 differing container values
2017-02-12 15:06:31 +01:00
Bjorn Reese
db8efb4ce9
Changed ForwardIterator to InputIterator for test_all_eq_impl
2017-02-12 13:19:39 +01:00
Bjorn Reese
fb09632580
Use test_output_impl in test_all_eq_impl
2017-02-12 12:26:58 +01:00
Bjorn Reese
c96ad4ccba
Added container sizes to error output of test_all_eq_impl
2017-02-11 18:39:06 +01:00
Bjorn Reese
265583bc78
Fixed error output of test_all_eq_impl
2017-02-11 18:26:57 +01:00
Bjorn Reese
6a5f540f08
Removed std::ostringstream
2017-02-11 16:37:12 +01:00
Bjorn Reese
3bc56800cd
Added BOOST_TEST_ALL_EQ macro to compare container contents
2017-02-11 15:03:45 +01:00
Peter Dimov
9dd5285dbb
Handle char*, volatile* properly in BOOST_TEST_EQ/NE
2017-02-09 23:14:07 +02:00
Peter Dimov
ef9bb78f19
Merge branch 'bug_fix_support_for_c_string' of https://github.com/HDembinski/core into develop
2017-02-09 19:16:52 +02:00
hans.dembinski@gmail.com
4570cced27
more compared code following suggestion from Glen Fernandes and testing expected failures
2017-02-07 15:05:08 +00:00
hans.dembinski@gmail.com
cc5472623f
compare pointers as addresses and use BOOST_TEST_CSTR_xx to compare cstrings
2017-02-06 20:08:43 +00:00
Glen Fernandes
98ee47effd
Use new BOOST_NO_CXX11_SFINAE_EXPR feature macro
2017-02-06 08:14:36 -05:00
hans.dembinski@gmail.com
cdee8e76c5
fix for trac issue #12814 , including a new test for the issue
2017-02-05 19:06:21 +00:00
Glen Fernandes
e647763fb0
Exclude g++4.7 from constexpr implementation
2017-02-02 21:44:14 -05:00
Glen Fernandes
9587d6b845
Support g++4.7 with SFINAE workaround
2017-02-02 13:43:08 -05:00
Glen Fernandes
4016f8e7cc
Define CORE_NO_CONSTEXPR_ADDRESSOF if NO_CXX11_CONSTEXPR is defined
...
The test case could check for BOOST_NO_CXX11_CONSTEXPR but it makes sense for BOOST_CORE_NO_CONSTEXPR_ADDRESSOF to be defined in this case also.
2017-02-01 11:02:01 -05:00
Glen Fernandes
686dbcb8eb
No BOOST_WORKAROUND for MSVC as >1900 has builtin
2017-02-01 08:34:03 -05:00
Glen Fernandes
3d98e6aed4
Use __builtin_addressof when available
2017-01-31 20:10:18 -05:00
Glen Fernandes
09dcc68ecd
Implement constexpr addressof
2017-01-31 08:45:47 -05:00
Andrey Semashev
1abd68102d
Simplified demangle() a little to make better use of RVO.
2017-01-11 22:25:31 +03:00
Andrey Semashev
5507006fc2
Disabled warnings about signed/unsigned mismatch when using BOOST_TEST_EQ/BOOST_TEST_NE.
2016-11-06 20:57:05 +03:00
Peter Dimov
aa17d6a5e2
Merge branch 'develop' of https://github.com/eldiener/core into develop
2016-09-10 01:06:07 +03:00
Andrey Semashev
2128428ca1
Made the workaround for Oracle compiler more strict.
2016-07-12 13:52:05 +03:00
Andrey Semashev
d732412924
Added a workaround for Oracle compiler with STLport when the first argument to distance() is an array and the second one is a pointer (presumably, pointing into the array).
2016-07-11 16:34:02 +03:00
Edward Diener
f1c51cb19c
Added BOOST_TEST_NOT to lightweight test.
2016-05-19 09:56:23 -04:00
Andrey Semashev
6345b93198
-Added constexpr and noexcept specifiers to make the emulation technically closer to the actual enums.
2016-01-01 19:02:48 +03:00
Andrey Semashev
181965f303
Added support for __has_include on gcc, in addition to clang.
2015-12-31 19:45:37 +03:00
Andrey Semashev
3add966877
Added support for gabi++ ABI implementation used in Android NDK.
2015-08-28 22:31:26 +03:00
Andrey Semashev
a30186cfa4
Merge pull request #16 from jfalcou/enable_if_has_type
...
Added enable_if_has_type facility.
2015-08-15 14:03:19 +03:00
Joel Falcou
87d43ddffc
Rename to enable_if_has_type in concordance with MPL existing traits
2015-08-13 17:42:34 +02:00
Joel Falcou
ad513c1641
Introduces enable_if_type
...
enable_if_type allow to perform SFINAE check on the existence
of a dependent type.
It has been used here and there in various boost library but it's
useful enough to warrant an autonomous existence.
2015-08-10 16:55:44 +02:00
Andrey Semashev
5d9aeb3161
Slightly more robust check for BOOST_GCC.
2015-07-17 21:50:44 +03:00
Andrey Semashev
5e8b9152be
Added a check for C++11 mode to disable auto_ptr deprecation warnings.
2015-07-17 21:41:44 +03:00
Andrey Semashev
c641e8e544
Disabled libstdc++ warnings about auto_ptr deprecation.
2015-07-17 21:37:01 +03:00
Adam Wulkiewicz
de616f6d1b
Disable auto_ptr support in get_pointer when BOOST_NO_AUTO_PTR is defined.
2015-06-05 14:09:08 +02:00
Adam Wulkiewicz
7aec0e45bd
[core] Add/improve ignore_unused() function specifiers.
...
Add C++14 constexpr by BOOST_CXX14_CONSTEXPR.
Replace inline with BOOST_FORCEINLINE.
2015-04-12 15:08:55 +02:00
Peter Dimov
67970b9d94
Use BOOST_WORKAROUND.
2015-03-09 00:32:02 +02:00
akumta
85a9400ceb
Update addressof.hpp
...
To update ticket# 10311
2015-03-03 11:37:28 -08:00
Peter Dimov
37687b800e
Fix ambiguous 'detail' errors under msvc-8.0.
2015-01-18 19:50:40 +02:00
Andrey Semashev
2beeb73e70
Fixed a typo in the comment.
2014-08-22 22:49:35 +04:00
Peter Dimov
1a956992bd
Extend nullptr_t workaround to Intel C++.
2014-08-09 00:26:39 +03:00
Peter Dimov
0fa07e72eb
Remove reference-collapsing overloads of ref and cref.
2014-07-15 12:06:55 +03:00
Andrey Semashev
1bd554f5ad
To silence Intel Compiler warnings function forward declarations are now inline.
2014-06-23 15:38:31 +04:00
Andrey Semashev
3f5eb44685
Silenced clang warnings about unused arguments.
2014-06-15 01:19:43 +04:00
Andrey Semashev
6cdeec8841
Added low level tools for demangling. Requested by Boost.TypeIndex author.
2014-06-12 19:23:36 +04:00
Andrey Semashev
f910872d54
Added missing copyright comments. Corrected links to the documentation on the comments.
2014-06-12 02:10:10 +04:00
Peter Dimov
3a10e3f5c6
Work around msvc-10.0 ref_fn_test failure.
2014-06-11 19:47:25 +03:00
Peter Dimov
f659e1164a
Add report_errors_remind to some passing tests.
2014-06-10 04:40:57 +03:00
K-ballo
45f7564db2
Disable binding ref to temporaries when rvalue references are supported
2014-06-09 20:42:00 -03:00
K-ballo
af629ffa59
Added ref folding creation overloads
2014-06-09 19:41:23 -03:00
Peter Dimov
bca30b2ec7
Remove outdated workarounds from boost/iterator.hpp.
2014-06-08 19:07:13 +03:00
Peter Dimov
f0f0f456cb
Remove outdated workarounds from boost/detail/iterator.hpp.
2014-06-08 19:02:03 +03:00
Peter Dimov
8e0c1c6845
Enable demangling on clang with libc++.
2014-06-08 02:22:19 +03:00
Andrey Semashev
f930ce31cf
Added tests for scoped enums and underlying_type. Fixed a bug with native_value(). Fixed a bug that allowed implicit conversions of scoped enums to int (at least with clang 3.4).
2014-06-07 02:30:29 +04:00
Peter Dimov
cee977fc84
Lift core::detail::demange to core, move demangled_name to typeinfo.hpp.
2014-06-06 23:30:32 +03:00
Peter Dimov
13d1a807ad
Add core::demangled_name.
2014-06-06 15:49:29 +03:00
Peter Dimov
dd1121d589
Split BOOST_TEST_TRAIT_* into lightweight_test_trait.hpp.
2014-06-06 15:17:16 +03:00
Stephen Kelly
45e0873f7a
Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
These evaded scripting.
[SVN r86249]
2014-06-06 02:41:30 +03:00
Stephen Kelly
8e0304e155
Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
[SVN r86248]
2014-06-06 02:41:30 +03:00
Stephen Kelly
3401b1e37b
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifndef...#else...#endif blocks.
[SVN r86245]
2014-06-06 02:41:29 +03:00
Stephen Kelly
e03dc68219
Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
...
Process #ifdef...#endif blocks.
[SVN r86243]
2014-06-06 02:41:29 +03:00
Dave Abrahams
c1cf026251
Bug fix from Marvin H. Sielenkemper - sielenk-at-sf.net
...
[SVN r24891]
2014-06-06 02:41:28 +03:00
Aleksey Gurtovoy
9c811cd41c
merge new MPL version from 'mplbook' branch
...
[SVN r24874]
2014-06-06 02:41:28 +03:00
Stefan Slapeta
82b4165754
Name lookup fix for CW
...
[SVN r24300]
2014-06-06 02:41:27 +03:00
Douglas Gregor
433d5804ef
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2014-06-06 02:41:27 +03:00
Dave Abrahams
0f29863a96
Handle non-lvalue iterators properly
...
[SVN r20585]
2014-06-06 02:41:26 +03:00
Dave Abrahams
8102e5ded7
Bugfix from Thorsten Ottosen <nesotto-at-cs.auc.dk>
...
[SVN r20187]
2014-06-06 02:41:26 +03:00
Dave Abrahams
eb65a92082
Added nested typedefs in iterator_traits<int> for ETI cutoff
...
[SVN r19920]
2014-06-06 02:41:25 +03:00
Dave Abrahams
c19196f83e
Remove flotsam #includes
...
[SVN r19855]
2014-06-06 02:41:25 +03:00
Dave Abrahams
29a7653754
Removed code-breaking change from boost/detail/iterator.hpp and corresponding workarounds from tests.
...
Added permutation_iterator_test to the suite after fixing it up -- it
was riddled with bugs!
[SVN r19841]
2014-06-06 02:41:24 +03:00
Dave Abrahams
787f0a6b1d
Moved to much cleaner system of using BOOST_TT_BROKEN_COMPILER_SPEC for handling vc6/7 deficiencies with iterator_traits.
...
Fixed a bug in iterator_facade which was causing incomplete types to
be passed through is_convertible.
Reinstated libs/utility/iterator_traits_test.cpp
[SVN r19840]
2014-06-06 02:41:24 +03:00
Dave Abrahams
e597edf945
Small changes to support new iterator adaptors in sandbox
...
[SVN r18212]
2014-06-06 02:41:23 +03:00
Dave Abrahams
fe1be24714
Workarounds for broken RogueWave lib that comes with Sun
...
[SVN r16509]
2014-06-06 02:41:23 +03:00
Dave Abrahams
6a1c31b325
add missing #include
...
[SVN r16171]
2014-06-06 02:41:23 +03:00
Dave Abrahams
4a744e0a76
More fixes, better error messages, etc.
...
[SVN r16170]
2014-06-06 02:41:22 +03:00
Dave Abrahams
bb06954814
Final patches for MSVC6
...
[SVN r16166]
2014-06-06 02:41:22 +03:00
Dave Abrahams
44a77a80f2
Works with MSVC and Intel5 now. Thanks, Aleksey!!
...
[SVN r16165]
2014-06-06 02:41:21 +03:00
Dave Abrahams
621b782adb
Cleanups on boost::iterator_traits<> Broke MSVC though :(
...
[SVN r16157]
2014-06-06 02:41:21 +03:00
Dave Abrahams
a146b55117
Workaround BOOST_MSVC_STD_ITERATOR misconfiguration; add MSVC6 specificity
...
[SVN r14047]
2014-06-06 02:41:20 +03:00
Dave Abrahams
d8c2a9acc1
Cleared out bogus flotsam
...
[SVN r12350]
2014-06-06 02:41:20 +03:00
Jens Maurer
f9cb368334
fix duplicate typedef
...
[SVN r10597]
2014-06-06 02:41:19 +03:00
Dave Abrahams
5ce7f21c64
More attempted fixes for Intel C++
...
[SVN r9406]
2014-06-06 02:41:19 +03:00
Dave Abrahams
743edcc715
Put all implementation into namespace boost::detail::iterator_traits_. Some progress made on fixes for Intel compiler.
...
[SVN r9389]
2014-06-06 02:41:18 +03:00
Jeremy Siek
9d152a2794
Changed BOOST_MSVC to BOOST_MSVC_STD_ITERATOR in a few places.
...
[SVN r9383]
2014-06-06 02:41:18 +03:00
Dave Abrahams
7f20f0965d
Updated documentation
...
[SVN r9283]
2014-06-06 02:41:18 +03:00
Dave Abrahams
9b38c048b6
Improved workarounds for stock MSVC6; use yes_type and no_type from type_traits.hpp; stopped trying to remove_cv before detecting is_pointer, in honor of the new type_traits semantics.
...
[SVN r9282]
2014-06-06 02:41:17 +03:00
John Maddock
9f813d8c5a
type_traits: regression failure fixes from type traits changes...
...
[SVN r9249]
2014-06-06 02:41:17 +03:00
Dave Abrahams
3f97c032a3
Make it work with standard conforming iterators under raw VC6.
...
[SVN r9197]
2014-06-06 02:41:16 +03:00
Dave Abrahams
a68f215e1d
Clean away code which can never be used
...
[SVN r9134]
2014-06-06 02:41:16 +03:00
Dave Abrahams
c756972304
Always have a definition for each traits member, even if it can't be properly deduced. These will be incomplete types in some cases (undefined<void>), but it helps suppress MSVC errors elsewhere
...
[SVN r9064]
2014-06-06 02:41:15 +03:00
Dave Abrahams
aa95310651
Added support for more of the traits members where possible, making this useful as a replacement for std::iterator_traits<T> when used as a default template parameter.
...
[SVN r9002]
2014-06-06 02:41:15 +03:00
Dave Abrahams
88d0434450
Removed useless #includes of standard library headers
...
[SVN r8993]
2014-06-06 02:41:14 +03:00
Dave Abrahams
88b77393d4
tweak a comment
...
[SVN r8680]
2014-06-06 02:41:14 +03:00
Dave Abrahams
8733c046e2
Initial checkin
...
[SVN r8664]
2014-06-06 02:41:13 +03:00
Peter Dimov
f2c658c6a3
Move sp_typeinfo to core; add BOOST_TEST_TRAIT_*; add core::is_same; add more tests using those.
2014-06-06 02:34:46 +03:00
Glen Fernandes
84b855cd09
Add ref documentation and doxygen
2014-06-04 21:43:47 -07:00
Daniel James
9c809beb2f
Iterator: merge several changes from trunk.
...
- Update iterator_facade test for #1019
(header change already merged).
- Category of each iterator is reduced to a known category before we try to
find a minimum. Fixes #1517 .
- `function_input_iterator` from Dean Michael Berris. Fixes #2893
- Fix typo in `boost/iterator.hpp`. Fixes #3434 .
- Always include `add_reference` header in iterator adaptor header.
Did not merge changes for #1427 .
[SVN r70709]
2014-06-05 02:55:59 +03:00
Douglas Gregor
e6df4922ee
Qualify boost::detail
...
[SVN r30736]
2014-06-05 02:55:58 +03:00
John Maddock
84ae30a97e
Removed Boost.org copyrights and replaced with originating authors copyright instead.
...
[SVN r24372]
2014-06-05 02:55:58 +03:00
Beman Dawes
ebbf497e2c
add or update See www.boost.org comments
...
[SVN r16708]
2014-06-05 02:55:57 +03:00
John Maddock
bc69c1df40
commit of split-config, including any changes required to existing libraries (mainly regex).
...
[SVN r11138]
2014-06-05 02:55:57 +03:00
Jens Maurer
bb2cfd6203
added <cstddef> for std::ptrdiff_t
...
[SVN r8562]
2014-06-05 02:55:57 +03:00
Beman Dawes
187e6fe37a
This commit was generated by cvs2svn to compensate for changes in r4, which included commits to RCS files with non-trunk default branches.
...
[SVN r7621]
2014-06-05 02:55:56 +03:00
Andrey Semashev
9092fde17e
Added docs for scoped_enum.hpp. Extracted underlying_type to a separate header.
2014-06-05 00:19:04 +04:00
Andrey Semashev
96986f99d8
Moved the implementation to boost/core.
2014-06-04 13:09:01 +04:00
Marshall Clow
8c9b7ec022
When I merged the Boost.ScopedEnum changes to release, I missed a file.
...
[SVN r82055]
2014-06-04 12:04:36 +04:00
Anthony Williams
b7a5a5f087
Merged boost.thread from trunk
...
[SVN r78543]
2014-06-04 12:04:36 +04:00
Daniel James
74958473c1
Merge some detail changes.
...
- [53670] Avoid C style casts.
- [55604] Fix #3346 boost/detail/scoped_enum_emulation.hpp enum_t conflict
with Unix rpc/types.h
- Don't foward declare containers when using gcc's parallel library and add a
macro to disable forward declaration. Fixes #3866 .
[SVN r59679]
2014-06-04 12:04:36 +04:00
Beman Dawes
88c974ac58
Merge from trunk
...
[SVN r52935]
2014-06-04 12:04:35 +04:00
Peter Dimov
56df43d6f4
Remove unnecessary #include.
2014-06-03 21:13:37 +03:00
Peter Dimov
1e4ef10859
Merged [81125] from trunk. Fixes #4185 .
...
[SVN r81329]
2014-06-03 20:15:44 +03:00
Hartmut Kaiser
f6ec7809ad
Merging from trunk
...
[SVN r66166]
2014-06-03 20:15:44 +03:00
Peter Dimov
fa633633cd
Merge [62245] to release. Fixes #4199 .
...
[SVN r63825]
2014-06-03 20:15:43 +03:00
Peter Dimov
424dcdc197
Merge [58123], [58127], [58128] to release. Fixes #3666 .
...
[SVN r58195]
2014-06-03 20:15:43 +03:00
David Deakins
c6d5ee1160
Have config/select_stdlib_config.hpp and config/stdlib/stlport.hpp use <cstddef> instead of <utility> to determine which standard library is in use. For std lib implementations that rely on Boost components like TypeTraits, Bind, Function, or SmartPtr, this helps to avoid circular header dependency issues, since <cstddef> is much less likely to pull in Boost libraries than <utility>.
...
In get_pointer.hpp, switched to using <boost/config/no_tr1/memory.hpp> instead of using <memory> directly. As above, this helps avoid circular header dependency issues in Boost-supplemented std libs (specifically it avoids issues when <memory> pulls in pieces of Boost.SmartPtr).
These two changes were made in response to testing done with STLport 5.2.1 using the _STLP_USE_BOOST_SUPPORT option.
[SVN r52221]
2014-06-03 20:15:42 +03:00
Beman Dawes
c47e07e344
config, detail, filesystem, system, tools, at 41278.
...
[SVN r41316]
2014-06-03 20:15:42 +03:00
Douglas Gregor
3a04ef6931
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2014-06-03 20:15:41 +03:00
Dave Abrahams
6501d1c088
Factor out get_pointer, supply an overload for std::auto_ptr.
...
[SVN r16672]
2014-06-03 20:15:41 +03:00
Douglas Gregor
0aea3d75d7
Converted to Boost Software License, Version 1.0
...
[SVN r24055]
2014-06-03 19:55:16 +03:00
Douglas Gregor
707d150c03
Doug Gregor -> Douglas Gregor
...
[SVN r24016]
2014-06-03 19:55:15 +03:00
Gennaro Prota
fd8877c73b
new license reference
...
[SVN r22834]
2014-06-03 19:55:15 +03:00
Douglas Gregor
cf5c311d0e
Boost.Signals now uses the official Boost license
...
[SVN r20236]
2014-06-03 19:55:14 +03:00
Gennaro Prota
8a060ee6d6
removed superfluous spaces
...
[SVN r18271]
2014-06-03 19:55:14 +03:00
Gennaro Prota
32f3a1b9f3
"envelope" for non-type template parameters (useful to workaround compiler bugs)
...
[SVN r18270]
2014-06-03 19:55:13 +03:00
Beman Dawes
771f50e199
add or update See www.boost.org comments
...
[SVN r16708]
2014-06-03 19:55:13 +03:00
Douglas Gregor
1b5ec2fae4
Added Boost.Signals library
...
[SVN r13964]
2014-06-03 19:55:12 +03:00
Dave Abrahams
199885efbb
Initial Checkin
...
[SVN r8661]
2014-06-03 19:55:12 +03:00
Glen Fernandes
91425e85c4
Remove empty_deleter from core
2014-06-02 19:56:37 -07:00
Andrey Semashev
22d6f90385
Corrected the deprecation warning.
2014-06-02 23:57:08 +04:00
Adam Wulkiewicz
61cc397be8
Add boost::ignore_unused()
2014-06-02 15:06:53 +02:00
Glen Fernandes
60c9a35d86
Move headers to core; add quickbook documentation
2014-06-02 00:46:33 -07:00