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
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
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
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
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
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
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
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