Commit Graph
1035 Commits
Author SHA1 Message Date
jzmaddock 4da98d4e8c Disable use of __oracle_has_nothrow_copy which appears not to do the right thing. 2015-06-14 13:20:18 +01:00
jzmaddock 6f5f212fa0 Function types need to be screened out of is_pod on Oracle. 2015-06-14 13:06:23 +01:00
jzmaddock 17985daa3c Add Oracle compiler to the list that needs extra includes. 2015-06-14 12:49:59 +01:00
jzmaddock 693c7a9ca6 Fix for copy-constructibility with Oracle compiler. 2015-06-14 12:47:31 +01:00
jzmaddock c4243e2914 Ooops, revert to using add_reference for C++98 compilers. 2015-06-14 12:43:27 +01:00
jzmaddock 979fc5b293 Delete dead file. 2015-06-14 09:31:45 +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 e68fddd992 Document new traits classes. 2015-06-13 19:19:22 +01:00
jzmaddock 739956e561 Update type_traits.hpp to include lots of otherwise missing stuff. 2015-06-13 13:09:04 +01:00
jzmaddock 68413905af Update more compiler requirements. 2015-06-12 19:37:19 +01:00
jzmaddock 587298b93a Update compiler compatibility notes. 2015-06-12 18:44:01 +01:00
jzmaddock 1c91d63197 Looks like some intrinsics are only available in C++11 mode. 2015-06-12 17:57:56 +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 b069b3ce3c Fix spelling of ::value ! 2015-06-11 11:01:18 +01:00
jzmaddock 229e99880b Add missing #include to has_trivial_move_constructor.hpp 2015-06-11 10:59:52 +01:00
jzmaddock 2fc65e67a8 Add missing #include to has_trivial_move_constructor.hpp. 2015-06-11 10:58:09 +01:00
jzmaddock d44141cf88 Fix behaviour of references and arrays in has_trivial_move_assign. 2015-06-11 10:57:11 +01:00
jzmaddock e8e7724303 Volatile types are not trivially movable. 2015-06-11 10:25:39 +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 24548d6158 Add missing #includes. 2015-06-11 09:58:39 +01:00
jzmaddock 1dfcdd7bb2 Bring more docs up to date. 2015-06-11 09:57:56 +01:00
jzmaddock c0ca135b78 Add docs for undocumented has_nothrow_destructor trait. 2015-06-10 17:10:41 +01:00
jzmaddock 79942e93cd More intrinsics corrections for clang 2015-06-09 19:38:05 +01:00
jzmaddock ade5857d78 Clang intrinsic needs to be filtered through is_constructible. 2015-06-09 19:33:07 +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 05e1b3b7a5 Reduce trivial copy dependencies. 2015-06-09 18:51:04 +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 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 d124da05c8 Merge pull request #14 from boostorg/feature/copy_cv_doc
Add copy_cv documentation.
2015-06-08 09:20:36 +01:00
jzmaddock 965d6ed403 Merge pull request #13 from boostorg/feature/common_type
New implementation of common_type.
2015-06-08 09:18:28 +01:00
jzmaddock ef2d00be2a Use boost::int128_type to avoid GCC warnings.
Without this the type_traits tests fail as they use -Werror.
2015-06-08 09:18:00 +01:00
jzmaddock d97ca425ec Add first draft of is_constructible. 2015-06-08 09:06:39 +01:00
jzmaddock 7a0c636208 Update nothrow_constructible tests. 2015-06-08 09:06:16 +01:00
jzmaddock 719ea20756 Begin updating docs to match new code. 2015-06-08 09:05:40 +01:00
Peter Dimov 971fd13805 Remove unnecessary includes. 2015-06-08 02:03:14 +03:00
Peter Dimov 7cb0e840f1 Moved utility/declval.hpp to type_traits/declval.hpp. 2015-06-08 01:55:17 +03: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
Peter Dimov 2180399398 Update documentation of common_type a bit. 2015-06-08 00:39:05 +03:00
Peter Dimov 987b01b28c Add documentation for declval. 2015-06-08 00:22:03 +03:00
Peter Dimov 2a645db56c Add documentation for type_identity as well. 2015-06-08 00:09:40 +03:00
Peter Dimov d0dbb24faf Move copy_cv to its alphabetical place. 2015-06-08 00:01:09 +03:00
Peter Dimov 3d3463b639 Rename tp_identity to type_identity; add copy_cv.hpp and type_identity.hpp to type_traits.hpp. 2015-06-07 22:18:49 +03:00
Peter Dimov 5fcc741db4 Add copy_cv documentation. 2015-06-07 21:10:51 +03:00