Commit Graph
880 Commits
Author SHA1 Message Date
jzmaddock 9ad41f9ff6 Remove unneeded is_const.
Tidy up special cases.
2014-10-20 11:50:47 +01:00
jzmaddock 5c0474dbc7 Improve is_nothrow* tests.
Disable is_nothrow* full implementation when there's no SFINAE expressions and simplify implementation.
2014-10-19 17:45:57 +01:00
jzmaddock 9de6a4924e Merge pull request #8 from MarcelRaad/patch-1
Compile fix for MSVC14
2014-09-25 10:34:44 +01:00
Marcel Raad c845f41f2d Compile fix for MSVC14
MSVC14 supports noexcept, but doesn't support expression SFINAE, so false_or_cpp11_noexcept_move_assignable<const T> fails to compile with
error C3892: 'boost::declval': you cannot assign to a variable that is const

Disabling the overload for const types so that they are never reported as noexcept move assignable fixes the compile error. Of course this doesn't work for imaginary UDTs with an assignment operator that is marked both noexcept and const - the alternative would be to guard the block with BOOST_NO_SFINAE_EXPR in addition to BOOST_NO_CXX11_NOEXCEPT.
2014-09-24 14:32:04 +02:00
jzmaddock 6b92cc7e26 Fix C++11 syntax error 2014-09-22 18:09:12 +01:00
jzmaddock 7e8ed98615 Include is_copy_assignable in doc build. 2014-08-31 18:51:58 +01:00
jzmaddock 79b690140e Merge branch 'is_copy_assignable' of https://github.com/igaztanaga/type_traits into develop 2014-08-31 18:24:26 +01:00
jzmaddock 383c44d577 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2014-08-31 10:47:34 +01:00
jzmaddock 497b877d15 Incrementable and decrementable traits failed to compile with array types: fix that by filtering out arrays early. 2014-08-30 09:19:06 +01:00
Ion Gaztañaga cf18d2bbac is_copy_assignable implementation added. It needs C++11 support to work reliable. 2014-08-26 23:23:12 +02:00
jzmaddock bbcfff0278 Fix clang is_convertible test failure - we don't need to check for abstract targets as clang does the right thing. 2014-08-23 13:26:15 +01:00
jzmaddock df74811a4c Fix has_trivial_copy so that non-copyable types are never trivially copyable! Also fix clang to detect trivially copyable array types. 2014-08-23 12:20:26 +01:00
jzmaddock c0a2a3c012 Merge pull request #5 from igaztanaga/msvc-12.0_is_copy_constructible_fix
Fix for MSVC 12.0 std::is_copy_constructible and boost::is_copy_construc...
2014-08-20 18:16:45 +01:00
jzmaddock 0e78687e7d Fix test case:
* Don't test incomplete types.
* Use new BOOST_NO_CXX11_FINAL macro for checks.
* Use soft checks when no compiler support is present.
2014-08-20 18:15:30 +01:00
jzmaddock 6f6e288daf Oops, move gcc config to correct section. 2014-08-20 18:13:21 +01:00
jzmaddock 0c7df66d0e Merge branch 'is_final' of https://github.com/K-ballo/type_traits into develop 2014-08-20 17:22:23 +01:00
K-ballo 5d936acc05 Added is_final type trait. Added BOOST_IS_FINAL intrinsic. 2014-08-19 14:45:00 -03:00
jzmaddock ee65713b9e Merge pull request #6 from danieljames/metadata
Create metadata file.
2014-08-18 17:38:07 +01:00
Daniel James d11a87472a Add metadata file. 2014-08-18 15:11:59 +01:00
Ion Gaztañaga dea1f79512 Fix for MSVC 12.0 std::is_copy_constructible and boost::is_copy_constructible return true for types with deleted copy constructors 2014-08-18 01:09:13 +02:00
jzmaddock 2131823bc2 Merge pull request #3 from K-ballo/typo-varaible
Fixed typo varaible -> variable
2014-08-15 18:26:19 +01:00
K-ballo 9b3c90a320 Fixed typo varaible -> variable 2014-07-18 21:59:23 -03:00
jzmaddock 74b5bea140 Partially revert "Fixes for msvc-13."
This reverts commit e69dd6740a.
2014-07-17 13:21:19 +01:00
jzmaddock b80c87f837 Merge pull request #2 from MarcelRaad/develop
compile fix for tests with TEST_STD defined
2014-07-09 18:57:43 +01:00
Marcel Raad ada1f1b831 compile fix for tests with TEST_STD defined 2014-07-03 21:05:17 +02:00
Michel Morin 8ced326b70 Tweak comments (removing a non-ascii character, updating references to the C++11 standard, etc.) and rename the include guard macro.
[SVN r81112]
2014-06-05 17:21:59 +03:00
Vicente J. Botet Escriba 9dca8381fe Utility/declval: update history.
[SVN r78729]
2014-06-05 17:21:58 +03:00
Vicente J. Botet Escriba 00e3a56d57 Utility: Rollback unwanted commit while adding noexcept to boost::declval
[SVN r77562]
2014-06-05 17:21:57 +03:00
Vicente J. Botet Escriba 590d24cb2e Utility: Fix for Adding noexcept to boost::declval
[SVN r77552]
2014-06-05 17:21:56 +03:00
Vicente J. Botet Escriba d6fd3f6ccb Utility: Added doc for Adding noexcept to boost::declval
[SVN r77543]
2014-06-05 17:21:56 +03:00
Vicente J. Botet Escriba 8fd600df47 Utility: Apply patch for 6570: Adding noexcept to boost::declval
[SVN r77539]
2014-06-05 17:21:55 +03:00
Steven Watanabe a04746196d Fix doc errors reported by Rob Stewart. Fixes #5421.
[SVN r71047]
2014-06-05 17:21:55 +03:00
John Maddock 88f5ca0bfd Add declval and common type from Vicente J. Botet Escriba. Regenerate docs.
[SVN r65443]
2014-06-05 17:21:54 +03:00
jzmaddock 1f815065bb Fix gcc-4.9.0 warnings 2014-05-02 09:29:30 +01:00
jzmaddock 3327d4c48f Fix doc bug: https://svn.boost.org/trac/boost/ticket/9967 2014-04-30 18:13:43 +01:00
jzmaddock 03bff14498 Updated fix for https://svn.boost.org/trac/boost/ticket/9910#comment:2
C++11 version of is_convertible does not need a check for is_abstract.
2014-04-27 16:51:19 +01:00
jzmaddock 14d6a21eb1 Update docs on alignment traits. 2014-04-24 18:33:16 +01:00
jzmaddock f91ab70055 Apply fix for issue https://svn.boost.org/trac/boost/ticket/9910 which provides a C++11 conforming version of is_convertible. 2014-04-23 12:50:53 +01:00
jzmaddock 3b12bbb0d6 regenerate docs and update history. 2014-04-22 09:27:48 +01:00
jzmaddock 7c2d5eb2a6 Apply patches from https://svn.boost.org/trac/boost/ticket/7317
Fixes msvc-11 compile failures.
2014-04-22 09:22:35 +01:00
jzmaddock 6100ef9bac Regenerate/update docs. 2014-04-21 09:47:34 +01:00
jzmaddock 954cdb5e46 Add fix for https://svn.boost.org/trac/boost/ticket/9474 2014-04-21 09:39:19 +01:00
jzmaddock 261db898d9 Revert removal of obsolete headers as it breaks existing code.
See https://svn.boost.org/trac/boost/ticket/9783.
2014-03-17 18:06:31 +00:00
jzmaddock da8a57f9dc Change check to s_check.
Fixes https://svn.boost.org/trac/boost/ticket/8542
2014-03-13 18:20:53 +00:00
jzmaddock a0ae848ad2 GCC warning suppression. 2014-03-13 17:56:03 +00:00
jzmaddock 1074233206 Fix warning under vc-11.0 2014-03-13 17:44:34 +00:00
jzmaddock 7f7cde4378 Remove obsolete #includes - reduces dependency burden. 2014-02-20 11:32:01 +00:00
jzmaddock 787e28368d Change name of boost::align so it doesn't clash with other stuff. 2014-02-18 13:31:01 +00:00
jzmaddock c137710c27 Merge commit 'a291374a230b89161691f890637b2896459c0afd' into develop: sets up merge point for master->develop merges. 2014-02-16 18:20:50 +00:00
jzmaddock a291374a23 Manual merge of change missed by auto-merge. Master and develop should now be in synch. 2014-02-16 16:53:40 +00:00