Commit Graph

1018 Commits

Author SHA1 Message Date
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
Peter Dimov
2b957cfd55 Add missing include of boost/config.hpp. 2015-06-07 19:19:55 +03:00
Peter Dimov
ad1ddddaf4 New implementation of common_type. 2015-06-07 19:12:55 +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
93aa34671b Remove inline namespace support - we're not using it. 2015-06-04 19:00:25 +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
e31d0ab7bd Suppress VC++ analyzer warnings.
See https://svn.boost.org/trac/boost/ticket/9100.
2015-05-28 19:07:39 +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
ab62bb1c14 Add missing #include. 2015-05-28 13:42:00 +01:00
jzmaddock
3b86fe6cb4 Disable typeof when BOOST_COMMON_TYPE_DONT_USE_TYPEOF is set. 2015-05-28 13:13:45 +01:00
jzmaddock
d57c36d056 Revert "Use typeof with recent Oracle compiler releases."
This reverts commit ef7436a729.
2015-05-27 18:26:01 +01:00
jzmaddock
ef7436a729 Use typeof with recent Oracle compiler releases. 2015-05-27 18:22:48 +01:00
jzmaddock
fb0c253a86 Add missing include for Oracle. 2015-05-27 18:17:35 +01:00
jzmaddock
28b599d17e Add missing #include. 2015-05-27 18:14:47 +01:00
jzmaddock
ec6b822957 Add missing Solaris #includes. 2015-05-27 18:10:14 +01:00