Commit Graph
225 Commits
Author SHA1 Message Date
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
AntonBikineev 34fe226814 Added decaying to common_type in accordance with defect LWG2141 2015-05-20 10:29:22 -05:00
jzmaddock 4fb3457fe2 Merge branch 'develop' into Version2 2015-05-17 11:45:08 +01:00
jzmaddock 24b7d226d3 Add fix for false positives in is_virtual_base_of
See https://svn.boost.org/trac/boost/ticket/11309
2015-05-16 18:39:49 +01:00
jzmaddock 703aa0c3b3 Fix clang compilation failure. 2015-03-24 19:01:08 +00:00
jzmaddock 13c3530448 Fix preprocessor logic, and add missing #include. 2015-02-26 19:11:18 +00:00
Alex Henrie ad30bf473b Correct spelling of "suppress" 2015-01-30 17:52:03 -07:00
jzmaddock 3435d48f0e Add the remaining traits - only common_type still has dependencies to something other than Boost.Config. 2015-01-17 19:08:08 +00:00
jzmaddock 94eb94980e Add more traits back - nearly complete now. 2015-01-17 18:06:27 +00:00
jzmaddock 6aa0878fb3 Add some more traits back. 2015-01-17 13:35:26 +00:00
jzmaddock fe41f0a4c1 Add operator traits and tests. 2015-01-16 18:30:26 +00:00
jzmaddock c4c10e06c6 Add new versions of decay, extent, function_traits. 2015-01-15 18:23:35 +00:00
jzmaddock 6bbee3cc59 Add new versions of alignment traits. 2015-01-15 17:05:05 +00:00