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
770c095dcc
is_virtual_base_of_test.cpp: add more tests for tricky cases and bug reports.
2018-05-09 19:31:45 +01:00
jzmaddock
01f9a0b43a
Add test for const-qualified final classes.
2018-05-08 18:53:17 +01:00
jzmaddock
963131c1db
is_final_test.cpp: Fix for compilers with no final keyword.
2018-05-08 07:58:34 +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
d06ee12c5c
has_nothrow_copy: new test case fails for msvc-12 and there seems to be no way to make it work.
2018-05-07 18:18:44 +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
e34ad30482
Fix some more gcc-4.5/6 testing errors.
2018-03-13 18:32:15 +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
jzmaddock
5240cd67d8
Comparison tests: disable tests that gcc-4.6 and earlier cannot handle.
2018-02-16 19:38:41 +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
John Maddock
94e54c030d
binary operators: disable new code for older gcc versions
2018-02-08 19:21:13 +00:00
jzmaddock
98d6eaf1e9
Add missing function bodies to test cases - it suppresses gcc warnings.
2018-02-08 09:02:05 +00:00
jzmaddock
e9399adefa
Add tests for improved binary operators.
2018-02-07 19:50:26 +00:00
jzmaddock
0886e13a99
Assert completeness fixes: fix up msvc failures.
2018-02-04 18:15:34 +00:00
jzmaddock
ac351390b2
Assert when we try to use an incomplete type on a trait which requires complete types as arguments.
...
This prevents some traits from doing the wrong thing (ie compiling but giving the wrong answer when handed an incomplete type.
See https://svn.boost.org/trac10/ticket/12285 .
A by-product of this is we add is_complete as a new trait.
2018-02-04 10:03:30 +00:00
jzmaddock
f5823d6732
type_traits:function type testing, change to explicit noexcept specifiers as clang-4 can't handle partial-specialisation on noexcept(bool).
...
Also reinstate and test support for functions with ellipsis.
2018-02-02 18:17:03 +00:00
jzmaddock
c8c95f18ca
type_traits: function types, update to detect functions with exception specifications in is_function and is_member_function_pointer.
2018-02-01 19:14:30 +00:00
Glen Fernandes
35c105501b
Implement detection idiom toolkit
2018-01-28 09:40:24 -05:00
John Maddock
a6e879f091
Add tests and tentative fix for issue with clang mis-identifying pairs of non-constructible types. See github #51 .
2018-01-25 13:18:38 +00:00
Daniel James
3e9608230c
Fallback for is_nothrow_swappable on pre-C++11
2017-11-28 22:12:01 +00:00
jzmaddock
bb94535ba8
Type_traits: add CI defines to Jamfile. Update travis script to build multiple configurations at once for faster build times.
2017-10-25 19:10:02 +01:00
jzmaddock
d17304143e
Merge branch 'develop' into 2017_07_21
2017-07-21 13:38:00 +01:00
Peter Dimov
defd5612a4
Replace exception specification with noexcept(false) (except.spec. invalid in C++17)
2017-07-21 13:33:56 +01:00
Peter Dimov
d59b9f419e
Suppress g++ bool use warnings
2017-07-21 13:33:56 +01:00
Peter Dimov
26b2676928
Add floating_point_promotion test
2017-07-21 13:33:54 +01:00
Peter Dimov
05982c1b09
Reorder test includes to test header self-sufficiency
2017-07-21 13:33:53 +01:00
jzmaddock
336162c8c4
Merge pull request #42 from boostorg/feature/is_list_constructible
...
Add is_list_constructible
2017-07-16 19:04:56 +01:00
jzmaddock
847b2b3b06
Merge pull request #40 from boostorg/feature/is_nothrow_swappable
...
Add is_nothrow_swappable
2017-07-16 19:02:45 +01:00
Peter Dimov
aa2158f97b
Define CI_SUPPRESS_KNOWN_ISSUES on Travis, suppress known g++-4 issues
2017-07-16 02:29:40 +03:00
Peter Dimov
7d7322655e
Disable g++-7 warnings in a proper manner
2017-07-16 02:06:18 +03:00
Peter Dimov
a3bef3752c
Disable failures caused by g++-7 -std=c++17 bug
2017-07-16 01:44:06 +03:00
Peter Dimov
d5be3746a1
Suppress warnings on g++ 4.x
2017-07-16 01:20:50 +03:00
Peter Dimov
ced4870cb0
Add is_list_constructible
2017-07-15 23:03:38 +03:00
Peter Dimov
b47d4aa421
Disable is_nothrow_swappable_test for the built-in clang++ on Travis, libstdc++ 4.6 is too old
2017-07-15 21:32:13 +03:00
Peter Dimov
1154c16b34
std::vector isn't nothrow swappable pre-C++17
2017-07-15 20:41:23 +03:00
Peter Dimov
aa8dcb47cf
Add is_nothrow_swappable
2017-07-15 18:57:34 +03:00
Peter Dimov
d19ff6cec4
Replace exception specification with noexcept(false) (except.spec. invalid in C++17)
2017-07-15 15:20:35 +03:00
Peter Dimov
53f5c2776c
Suppress g++ bool use warnings
2017-07-15 15:19:44 +03:00
Peter Dimov
468ed1b9be
Add floating_point_promotion test
2017-07-01 23:53:15 +03:00
Peter Dimov
06c90d642b
Reorder test includes to test header self-sufficiency
2017-07-01 23:37:04 +03:00
jzmaddock
a427937573
CI: disable tricky_rvalue_test when we know it will fail with msvc-10 and 11.
2017-06-04 11:26:20 +01:00
jzmaddock
1268ba4c24
Appveyor: add initial testing.
...
Disable known test failures.
2017-05-24 17:51:35 +01:00
Peter Dimov
8a3d01a5ea
Add remove_cv_ref
2017-05-20 17:13:43 +03:00
jzmaddock
85df11dad2
Don't test new aliases prior to gcc 4.6.4.
...
Add config_info output to travis build.
2017-05-19 08:40:54 +01:00