Commit Graph
532 Commits
Author SHA1 Message Date
jzmaddock ea25faa853 Add some more missing #includes. 2015-01-21 19:46:18 +00:00
jzmaddock e1b1831b79 Fix issue that occurs when wchar_t is not a native type - still an option for msvc. 2015-01-21 18:32:26 +00:00
jzmaddock fb7b527c37 Fix nasty bug in aligned storage. 2015-01-21 18:04:55 +00:00
jzmaddock abe3c03295 Merge branch 'Version2' of https://github.com/boostorg/type_traits into Version2 2015-01-21 16:50:38 +00:00
Edward Diener 7513e68882 Added include for BOOST_WORKAROUND. 2015-01-20 19:13:06 -05:00
jzmaddock 5a2ab9ffb0 Fix iostreams lib failures, and some some conceptual errors. 2015-01-20 18:14:59 +00:00
jzmaddock 81c4b8f860 Fix function_types failures. 2015-01-20 17:40:32 +00:00
jzmaddock 60547bfef9 Fix bug in aligned_storage.hpp include guards. Add back some detail headers that other libraries are using. 2015-01-20 13:06:27 +00:00
jzmaddock 8f94dbbf35 Inline namespace test version. 2015-01-18 11:39:05 +00: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 1b1f90fdea Remove dependency on ice.hpp for operator traits. 2015-01-17 12:00:22 +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
jzmaddock 8dc33362b9 Convert some more traits. 2015-01-15 11:31:18 +00:00
jzmaddock 3cf613228d Fix Linux #include issues. 2015-01-14 19:17:10 +00:00
jzmaddock f0da159e1f Initial commit of new version of type_traits which has zero dependencies (other than Boost.Config), plus reduced template instantiations, and cleaner easier to read code. 2015-01-14 18:34:11 +00:00
jzmaddock cf42ce1cfd Fix version check. 2014-12-06 09:38:35 +00:00
jzmaddock ffa9927732 Add new hooks for nothrow move assign/construct and fix is_nothrow_move_assignable and is_nothrow_move_constructible for msvc-12 and later. 2014-12-05 18:30:54 +00:00
jzmaddock 9b12c8ad6a Fix for CUDA on Clang compilation failure when including type traits headers.
See https://svn.boost.org/trac/boost/ticket/10694.
2014-11-10 17:58:14 +00:00
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
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 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 6f6e288daf Oops, move gcc config to correct section. 2014-08-20 18:13:21 +01:00
K-ballo 5d936acc05 Added is_final type trait. Added BOOST_IS_FINAL intrinsic. 2014-08-19 14:45:00 -03: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 74b5bea140 Partially revert "Fixes for msvc-13."
This reverts commit e69dd6740a.
2014-07-17 13:21:19 +01: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 8fd600df47 Utility: Apply patch for 6570: Adding noexcept to boost::declval
[SVN r77539]
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 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 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 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 1074233206 Fix warning under vc-11.0 2014-03-13 17:44:34 +00:00