Commit Graph
515 Commits
Author SHA1 Message Date
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
jzmaddock 787e28368d Change name of boost::align so it doesn't clash with other stuff. 2014-02-18 13:31:01 +00:00
jzmaddock 2fe6e4f08b Remove files which should never have been in Git in the first place. 2014-02-16 16:47:52 +00:00
jzmaddock e69dd6740a Fixes for msvc-13. 2014-02-08 16:19:14 +00:00
jzmaddock 6f9d6798a7 Suppress spurious GCC warning. 2014-02-08 13:00:54 +00:00
Michel Morin ba63463ab7 Correct broken links to C++ standard papers. Refs #9212.
[SVN r86524]
2013-10-30 12:51:24 +00:00
John Maddock d5c5988d92 Remove dead files.
[SVN r86300]
2013-10-14 15:25:21 +00:00
Stephen Kelly 937009e771 Remove use of obsolete BOOST_TT_BROKEN_COMPILER_SPEC
[SVN r86250]
2013-10-11 23:23:26 +00:00
Stephen Kelly ad10d46cc5 Remove remaining occurances of BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
These evaded scripting.

[SVN r86249]
2013-10-11 23:22:36 +00:00
Stephen Kelly a7d4ca60cf Simplify multi-component ifdefs containing BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
[SVN r86248]
2013-10-11 23:20:59 +00:00
Stephen Kelly 32f87190d6 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #elif...#else...#endif blocks.

[SVN r86247]
2013-10-11 23:19:44 +00:00
Stephen Kelly 77697c2134 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#else...#endif blocks.

[SVN r86246]
2013-10-11 23:19:17 +00:00
Stephen Kelly f0b1834a4d Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#else...#endif blocks.

[SVN r86245]
2013-10-11 23:17:48 +00:00
Stephen Kelly ea6264018d Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifndef...#endif conditions.

[SVN r86244]
2013-10-11 23:15:00 +00:00
Stephen Kelly c8f38de386 Remove BOOST_NO_TEMPLATE_PARTIAL_SPECIALIZATION
Process #ifdef...#endif blocks.

[SVN r86243]
2013-10-11 23:13:10 +00:00
Edward Diener 7b3dfb6f0a Removed extraneous calling convention declarations for VC++ and compatibles when varargs is used.
[SVN r86214]
2013-10-09 14:54:36 +00:00
Stephen Kelly f53c38de37 aligned_storage: Remove obsolete GCC version check.
[SVN r86103]
2013-10-01 08:41:55 +00:00
Stephen Kelly 7713e90dc3 TypeTraits: Remove obsolete GCC version checks.
[SVN r86077]
2013-09-30 16:01:57 +00:00