Commit Graph
237 Commits
Author SHA1 Message Date
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
jzmaddock 312bf1d8ce Add some workarounds for GCC-4.4.x 2015-07-07 18:16:18 +01:00
jzmaddock 04a8a9ecc2 Need to use __is_polymorphic intrinsic with msvc
when final is supported.
Also improve tests.
2015-07-07 12:30:28 +01:00
jzmaddock 22fd60efe3 Merge branch 'Version2' into develop 2015-06-18 11:23:28 +01:00
jzmaddock 863ba0a7c5 Revert "Move private-constructor tests into separate file."
This wasn't the right fix, and didn't fix the issue anyway.

This reverts commit fe5f4e2253.
2015-06-16 18:30:02 +01:00
jzmaddock fe5f4e2253 Move private-constructor tests into separate file.
These tests fail on older GCC versions.
2015-06-16 12:47:29 +01:00
jzmaddock 745bf9bee1 Fix for Oracle+STLPort. 2015-06-14 18:05:58 +01:00
jzmaddock 2f2ca65e48 Switch to using boost::declval.
Change has_nothrow_copy to use is_copy_constructible as it has better broken-compiler workarounds than is_constructible.
2015-06-14 09:30:46 +01:00
jzmaddock 68413905af Update more compiler requirements. 2015-06-12 19:37:19 +01:00
jzmaddock cb98a630ff Change is_copy_constructible to use is_constructible where possible, and fix some MSVC failures. 2015-06-12 13:26:27 +01:00
jzmaddock ae76223bab Move trivial/nothrow construct traits closer into line with the standard. 2015-06-11 11:26:33 +01:00
jzmaddock d44141cf88 Fix behaviour of references and arrays in has_trivial_move_assign. 2015-06-11 10:57:11 +01:00
jzmaddock 11cd9e6674 Improve is_destructible - especially for references. 2015-06-11 10:13:30 +01:00
jzmaddock 434e26e7a3 Improve is_destructible and add tests. 2015-06-11 10:00:31 +01:00
jzmaddock 2d71379074 Fix has_trivial* traits and improve their tests. 2015-06-11 10:00:09 +01:00
jzmaddock c1d885edbd Test nothrow_copy in no-intrinsics mode. 2015-06-09 18:52:17 +01:00
jzmaddock 4777c0b4a6 Fix has_nothrow_destructor so it actually works.
Add tests for it.
2015-06-09 18:51:46 +01:00
jzmaddock b21b0f0476 Fix test case: arrays are not explicitly copyable 2015-06-09 18:50:29 +01:00
jzmaddock 4a16185e27 Improve is_constructible.
Add is_destructible.
Add tests.
2015-06-08 19:19:08 +01:00
jzmaddock bdd23b4b9b Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2015-06-08 17:17:49 +01:00
Peter Dimov 9fd4ee06b2 Make common_type SFINAE-friendly, add tests 2015-06-08 15:34:45 +03:00
jzmaddock 8ed541ac23 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop
Resolved Conflicts:
	doc/transform_traits.qbk
	doc/type_traits.qbk
2015-06-08 11:41:56 +01:00
jzmaddock 7a0c636208 Update nothrow_constructible tests. 2015-06-08 09:06:16 +01:00
Peter Dimov 01493e4acb Add a few more common_type tests. 2015-06-08 01:34:06 +03:00
Peter Dimov b0f9674649 Add a test for copy_cv. 2015-06-08 01:08:18 +03:00
Peter Dimov bc89aa6160 Add a type_identity test. 2015-06-08 00:54:19 +03:00
jzmaddock acf6e41edb Add is_assignable.
Update has_nothrow_assign to make use of it.
2015-06-06 12:51:51 +01:00
jzmaddock 34805a673f Improve has_nothrow_constructor with check for constructibility where required. 2015-06-05 18:08:35 +01:00
jzmaddock 19b4c5c9ee Add first draft of is_default_constructible trait. 2015-06-05 18:07:27 +01:00
jzmaddock 916adca633 Add generic version of has_nothrow_assign.
Does not require a compiler intrinsic - makes it easier to port to other/unknown compilers going forward as long as they are C++11.
2015-06-04 18:59:21 +01:00
jzmaddock e824cad0bd Fix indent. 2015-05-28 18:52:29 +01:00
jzmaddock d3ac8b95c4 Bring decay into line with std::decay.
See https://svn.boost.org/trac/boost/ticket/7760.
2015-05-28 18:33:31 +01:00
jzmaddock 3b78213a41 Merge branch 'develop' into Version2 2015-05-21 19:37:33 +01:00
jzmaddock 3ee10740eb Merge branch 'Version2' of https://github.com/boostorg/type_traits into Version2 2015-05-21 18:52:13 +01:00
jzmaddock 9f489b0d71 Add tests to detect, https://svn.boost.org/trac/boost/ticket/11324. 2015-05-21 18:39:50 +01:00