1
0
forked from boostorg/core
Commit Graph

208 Commits

Author SHA1 Message Date
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