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
jzmaddock
bb867c86d8
Improve tests for new *_t template aliases.
...
Add missing *_t aliases.
2017-05-18 19:44:29 +01:00
Peter Dimov
13d4b60dea
Add simple test for _t aliases
2017-05-18 00:33:14 +03:00
John Maddock
9bb504b631
Add workarounds in tests for GCC-4.7
2017-05-16 19:42:35 +01:00
John Maddock
60d8c7d5e1
Fix spurious warnings from old GCC versions in aligned_storage test case
2017-05-16 19:10:38 +01:00
jzmaddock
7b29d67a3e
Small improvements to make_void:
...
* When there are no variadic templates, supports up to 5 parameters.
* Tests added for void_t.
* Documentation added on compiler support.
2017-02-07 18:49:33 +00:00
jzmaddock
f59467e310
Merge branch 'develop' of https://github.com/glenfe/type_traits into pr28
2017-02-07 18:31:38 +00:00
Glen Fernandes
d24f722c5a
Add make_void and void_t traits
2017-01-30 19:50:38 -05:00
zerotypos-found
c3b38bc3dd
[inspection report] remove tabs and non-ASCII chars, add newline at EOF, fix copyright
2016-11-29 12:05:30 +09:00
jzmaddock
1f3a3a1553
Fixes for older GCC versions, see issue 11904.
2016-01-13 10:50:22 +00:00
jzmaddock
217c337233
Fix result of add_reference<const void>.
...
Also update tests.
See https://svn.boost.org/trac/boost/ticket/11900 .
2016-01-10 18:10:17 +00:00
jzmaddock
58d70ed28b
Add tests for https://svn.boost.org/trac/boost/ticket/11840 .
2015-12-11 17:32:37 +00:00
Andrey Semashev
99576a12f6
Remove executable permissions from headers.
2015-09-13 21:20:51 +03:00
jzmaddock
f083968ba6
Update to use new BOOST_HAS_FLOAT128, plus more tests.
2015-08-13 17:53:33 +01:00
jzmaddock
a0a9475d17
Stop testing things that can't possibly pass (compiler features not available).
2015-07-24 10:07:27 +01:00
jzmaddock
98954e1d15
Fix test case.
2015-07-23 19:22:28 +01:00