jzmaddock
744b49751a
Merge pull request #89 from glenfe/develop
...
Add enable_if_ and enable_if_t. Sever dependency on Core.
2018-08-27 18:10:48 +01:00
Glen Fernandes
2baafd4a3a
Add enable_if_ and enable_if_t. Sever dependency on Core.
2018-08-25 21:00:17 -04:00
Peter Dimov
0d7d9c72ef
Add comment describing the use of noncopyable_::base_token
2018-08-25 15:36:29 +03:00
Peter Dimov
91c5184fca
Do not include boost/noncopyable.hpp to avoid a dependency on Core
2018-08-25 01:45:50 +03:00
jzmaddock
685c47ecca
Use the correct feature macro in is_function.hpp
2018-08-14 09:39:40 +01:00
jzmaddock
c3412181c4
Refactor is_function.hpp/is_member_function_pointer.hpp:
...
With separate files for C++03 and C++11 versions.
Add workarounds for compilers with insufficient C++11 support to handle the new code.
Add support for C++17 noexcept function signatures and update tests accordingly.
2018-08-12 11:04:33 +01:00
jzmaddock
0c9643ee88
Disable some partial specializations in x64 mode.
2018-08-11 19:51:10 +01:00
jzmaddock
52fbd03a6c
Big update for is_function and is_member_function_pointer for modern compilers with modern features.
...
See https://github.com/boostorg/type_traits/issues/81 .
2018-08-11 19:32:02 +01:00
jzmaddock
baad6ce607
Merge pull request #84 from boostorg/issue80
...
Add tests for scoped_enums.
2018-08-11 09:26:47 +01:00
jzmaddock
66a146c1cb
Disable additional specialization for is_function for msvc-10.0 -
...
it doesn't work and leads to ambiguous overloads.
Also change the expected result of some tests for msvc-14.0.
2018-08-10 18:13:02 +01:00
jzmaddock
5bd3e11429
Make the unary operator traits use "perfect" detection.
...
Update tests accordingly.
2018-08-09 19:48:36 +01:00
jzmaddock
8d740945a8
is_rvalue_reference: More partial specialisations for obsolete compilers.
2018-08-07 17:59:11 +01:00
jzmaddock
e958c63a6d
rvalue refs and msvc-10: add fix for is_function as well.
2018-08-06 19:20:34 +01:00
jzmaddock
0c59e22982
Tentative fix for msvc-10 issue with rvalue refs.
...
See: https://svn.boost.org/trac10/ticket/5795 and https://github.com/boostorg/type_traits/issues/78 .
2018-08-06 18:31:26 +01:00
jzmaddock
ad326841ec
Correct spelling of "__clang__" so that the headers compile on clang/windows.
2018-08-03 18:31:46 +01:00
jzmaddock
3b6c340fc2
Merge pull request #75 from dsakurai/develop
...
Use boost::declval instead of std::declval
2018-05-22 17:59:47 +01:00
jzmaddock
4c9add90d0
Intrinsics: update msvc trivial move intrinsics.
...
Tighten up the tests.
2018-05-19 09:29:13 +01:00
Daisuke Sakurai
dec6869a3f
Use boost::declval instead of std::declval
2018-05-18 16:18:30 +02:00
jzmaddock
7eab81300e
clang intrinsics: disable trivial move construction testing for c++03.
2018-05-18 08:00:28 +01:00
jzmaddock
8898c6d1bb
clang intrinsics: Use __is_trivially_constructible and __is_trivially_assignable to test for trivial move construct and assign.
...
See https://github.com/boostorg/type_traits/issues/73 .
2018-05-17 18:26:31 +01:00
jzmaddock
a3114e9f79
Merge branch 'develop' of https://github.com/boostorg/type_traits into develop
2018-05-15 18:23:17 +01:00
jzmaddock
6a1fbd45f6
Move some #pragma warning(pop)'s to the correct place.
2018-05-15 18:22:59 +01:00
jzmaddock
6eb8a15c25
Merge pull request #71 from boostorg/pr31
...
CI integration test for PR31.
2018-05-12 08:18:49 +01:00
jzmaddock
7bba2acbcc
is_virtual_base_of.hpp: simplify and use clang version for all compilers.
2018-05-11 17:19:44 +01:00
John Maddock
fbc50bfd12
is_virtual_base_of: more workarounds for clang and older gcc versions
2018-05-10 11:34:02 +01:00
jzmaddock
02270ed668
is_virtual_base_of: tentative fixes for clang and older gcc versions.
...
[CI SKIP]
2018-05-10 10:31:24 +01:00
jzmaddock
63dea93d99
is_virtual_base_of.hpp: Reinstate old version for old broken compilers.
2018-05-09 19:14:50 +01:00
jzmaddock
e2041351c8
intrinsics.hpp: fix typo in comment.
2018-05-09 18:14:13 +01:00
jzmaddock
2cc2697e53
Merge branch 'hotfix/is_virtual_base_of' of https://github.com/csernib/type_traits into pr31
2018-05-08 18:59:29 +01:00
jzmaddock
00951845fb
Merge pull request #60 from Flast/patch-1
...
Added is_final intrinsic for msvc 2013 and later
2018-05-08 18:38:34 +01:00
jzmaddock
eda07fdec9
common_arithmetic_type.hpp: remove duplicate const.
2018-05-08 11:09:25 +01:00
jzmaddock
356635219b
Fix for is_final which works around GCC bug, see https://github.com/boostorg/type_traits/issues/69
2018-05-07 18:50:28 +01:00
jzmaddock
1305001a58
Trivial fix for GCCXML, fixes: https://github.com/boostorg/type_traits/issues/69
2018-05-07 18:49:53 +01:00
John Maddock
9052a3830e
has_nothrow_copy: disable intrinsic for gcc-4.8 as well as 4.7, and the test for gcc-4.4
2018-05-07 13:36:20 +01:00
John Maddock
59e81bca80
Tentative fix for git issue #56 : failing has_nothrow_copy with deleted constructor
2018-05-07 09:47:06 +01:00
jzmaddock
547263c001
Merge branch 'develop' of https://github.com/boostorg/type_traits into develop
2018-05-04 20:04:14 +01:00
jzmaddock
7e9909324a
Fix missing #pragma warning(pop)'s for msvc
...
Fixes https://github.com/boostorg/type_traits/issues/68
2018-05-04 20:03:59 +01:00
jzmaddock
307f37ab58
Merge pull request #65 from danieljames/include-yes-no-type
...
Include yes_no_type.hpp from is_complete.hpp
2018-03-31 11:38:12 +01:00
jzmaddock
4c3706113a
Fix for type-punning warnings from gcc.
...
See: https://svn.boost.org/trac10/ticket/13479
2018-03-29 11:31:35 +01:00
Daniel James
2bb1021fe8
Include yes_no_type.hpp from is_complete.hpp
2018-03-14 13:49:25 +00:00
jzmaddock
7e19a87e67
Update tests for GCC-4.6.x failures.
...
Also suppress one new msvc warning (from 14.1 update 6).
2018-03-13 18:03:18 +00:00
John Maddock
b06185c29f
is_nothrow_move_constructible: Tentatively re-enable support for gcc-4.7.x as it seems to work locally
2018-03-07 19:04:26 +00:00
jzmaddock
e5003ad808
is_likely_lambda.hpp: Allow use of the workaround for msvc-14.0.
...
Note that 14.0 update 3 doesn't require this, but update 2 and earlier do.
2018-02-21 18:30:50 +00:00
jzmaddock
10f09a6327
is_complete: implementation chokes with gcc-4.5, disable for that compiler.
...
[CI SKIP]
2018-02-16 19:32:41 +00:00
jzmaddock
75160cd755
clang: we can't use the new operator detector code for clang < 3.2.
2018-02-16 19:08:49 +00:00
jzmaddock
8d938a4bb9
binary operator traits: previous fix using is_complete can't be used since even incomplete types may have non-member operators declared.
2018-02-14 18:09:52 +00:00
jzmaddock
875b95974a
binary operators: msvc-12 and under can't cope with new gcc workarounds, so disable in that case.
2018-02-13 19:55:06 +00:00
John Maddock
84f9b6da68
binary operators: add revised workaounds for gcc-4.7 and 4.8
2018-02-13 19:18:12 +00:00
John Maddock
28658d6c11
Comparison operators: add poor man's workaround for captureless lambdas
2018-02-12 18:30:08 +00:00
jzmaddock
014ac72782
Switch to a centralised macro for binary operator traits implementation selection.
2018-02-10 17:40:39 +00:00