Commit Graph
471 Commits
Author SHA1 Message Date
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
Stephen Kelly d1403c7d10 TypeTraits: Remove use of obsolete macro
BOOST_TT_NO_ELLIPSIS_IN_FUNC_TESTING was only defined for GCC 2.

[SVN r86076]
2013-09-30 16:01:34 +00:00
Stephen Kelly df4224484f TypeTraits: Remove definition of macro for obsolete GCC.
[SVN r86075]
2013-09-30 16:01:16 +00:00
Stephen Kelly 95587ab589 aligned_storage: Remove obsolete MSVC version check.
[SVN r86025]
2013-09-30 00:18:28 +00:00
Stephen Kelly f23fef070e Remove obsolete MSVC check from pragma guard
git grep -h -B1 "^#\s*pragma once" | grep -v pragma | sort | uniq

is now clean.

[SVN r85952]
2013-09-26 13:02:51 +00:00
Stephen Kelly 81918230c6 TypeTraits: Remove obsolete MSVC version checks.
[SVN r85919]
2013-09-25 21:15:34 +00:00
Stephen Kelly dc676dc982 TypeTraits: Port away from obsolete macro.
[SVN r85918]
2013-09-25 21:14:42 +00:00
Stephen Kelly ed84feb8b2 TypeTraits: Remove use of obsolete macro.
[SVN r85917]
2013-09-25 21:14:24 +00:00
Stephen Kelly dec59cee34 TypeTraits: Remove alternative macro definitions for old MSVC.
[SVN r85916]
2013-09-25 21:14:01 +00:00
Antony Polukhin e236bd7c14 Intel compiler: do not use SFINAE with decltype/sizeof on deleted functions. Use fallback mode instead (refs #8802)
[SVN r85319]
2013-08-12 13:25:01 +00:00
Antony Polukhin 4b93facaaa Atempt to workaround Intel issue with SFINAE (refs #8802)
[SVN r85222]
2013-08-06 15:37:00 +00:00
Antony Polukhin 2429f259cc Unify behavior of is_copy_constructible triat when dealing with rvalues + add comments for some tests (refs #8802):
[SVN r85104]
2013-07-22 12:51:09 +00:00
Antony Polukhin adfe8642af Fix tests for is_copy_constructible triat and fix reference-to-reference issue (refs #8802).
[SVN r85060]
2013-07-17 14:38:39 +00:00
John Maddock 449c859c9d Add support for char16_t and char32_t.
Fixes #8780.

[SVN r85019]
2013-07-12 18:28:17 +00:00
Antony Polukhin e75060956c Improvemants for is_copy_constructible triat (refs #8802):
* Added small in-place documentation for trait
* Trait is now included by boost/type_traits.hpp header
* Added qbk documentation
* Documentation regenerated

[SVN r85002]
2013-07-11 10:27:49 +00:00
Antony Polukhin 1feea65d89 Added is_copy_constructible triat implementation and tests (refs #8802)
[SVN r84987]
2013-07-09 07:49:44 +00:00
John Maddock 554cb99bf1 Remove reference to BOOST_TYPEOF_SILENT as it doesn't exist any more.
[SVN r84845]
2013-06-20 12:13:47 +00:00
John Maddock e7b1851330 Fix for #5809.
[SVN r84836]
2013-06-19 17:37:17 +00:00
John Maddock 79b4594c2b Fix messed up parenthesis.
[SVN r83473]
2013-03-17 16:02:13 +00:00
John Maddock 1554970121 Tentative fixes for remaining msvc-11 failures.
[SVN r83437]
2013-03-15 13:27:03 +00:00
Antony Polukhin 2140b4c23c Added missing header for is_nothrow_move_constructible (refs #8189).
[SVN r83430]
2013-03-14 18:56:19 +00:00
Antony Polukhin 40d87a0683 Fix MSVC11 test (refs #8189).
Added C++11 noexcept implementation of is_nothrow_move_constructible and is_nothrow_move_assignable traits and changed C++03 version to to work close to C++11 (refs #8189).

[SVN r83245]
2013-03-02 16:15:30 +00:00
Antony Polukhin 703afdc9c1 Added includes for new type triats to type_traits.hpp
[SVN r83242]
2013-03-02 08:36:39 +00:00
Antony Polukhin 6ddc6c1d51 Added new type traits (more documentation, more tests and improved C++11 specific features detection still must to be done) (refs #8189)
[SVN r83206]
2013-02-28 19:17:49 +00:00
Michel Morin 8886da6e1b Removing a non-ascii character (i.e. a non-breaking space); fixes #8042.
[SVN r82830]
2013-02-12 15:29:39 +00:00
John Maddock b64cca729d Add comment to the effect that is_POD is deprecated, and get it to forward to is_pod.
[SVN r82678]
2013-02-01 10:16:07 +00:00
John Maddock 2162f05dfc Apply patches to correct typos from Michel Morin.
Refs #7683.

[SVN r82241]
2012-12-28 18:21:09 +00:00
Vicente J. Botet Escriba a921c555f1 TypeTraits: make it work with Borland
[SVN r81765]
2012-12-07 17:17:03 +00:00
Marshall Clow c64eb91a2b Remove usage of deprecated macros
[SVN r81466]
2012-11-21 21:11:24 +00:00
Michel Morin a103ebe7ed Update references to the C++11 standard.
[SVN r81113]
2012-10-30 17:01:59 +00:00
John Maddock e6314963a3 Add initial support for __int128 to Config and TypeTraits
[SVN r81064]
2012-10-25 12:21:19 +00:00
Michel Morin a75ba5f2af Fix preprocessor usage (and synchronize the style); fixes #7306
[SVN r80325]
2012-08-31 03:30:51 +00:00
John Maddock b95816426c Move new test cases into the "tricky" section as many compilers can't handle them.
Revert previous change that used std::is_convertible on GCC as it breaks code prior to gcc-4.7.
Fix MSVC intrinsic to handle function types better.
Filter out rvalue-refs from is_function.
Partially apply patch from #7251 to make is_convertible behave more according to C++11.
Refs #7251.

[SVN r80234]
2012-08-26 12:14:11 +00:00
Michel Morin 3bfd10465c Fixing is_convertible for function types; fixes #7246
[SVN r80080]
2012-08-19 02:03:07 +00:00
John Maddock 551385bd9c Remove stray ; in test file.
Add some rvalue ref tests for is_convertible.
Enable use of intrinsics for Intel on Win32.
Fix rvalue ref usage in is_convertible.

[SVN r79983]
2012-08-12 17:57:27 +00:00
John Maddock 9903a5539d Restrict gcc pragma to gcc-4.0 and later.
[SVN r79286]
2012-07-05 15:46:18 +00:00
Michel Morin 960c85dedc Explicitly guard gcc's code path using BOOST_CLANG.
Currently, the version check `(__GNUC__ == 4) && (__GNUC_MINOR__ >= 3)` is enough to guard gcc's code path from clang, since clang pretends to be gcc-4.2.1.
But, it seems that the clang's (pretended) gcc version will be changed to a more recent one in the near future. So we need the explicit guard.

[SVN r78448]
2012-05-13 05:49:12 +00:00
Michel Morin 888910b677 forgot some change in the previous commit
[SVN r78345]
2012-05-06 03:04:35 +00:00
Michel Morin 1cfb87e358 Unconditionally disable clang's __is_pod and __is_empty intrinsics when used with libstdc++ 4.2. This fixes an include order issue reported by Luc Bourhis.
Added `#include <cstddef>` to pull the stdlib's version macro, as done in boost/config/select_stdlib_config.hpp.

[SVN r78344]
2012-05-06 02:50:13 +00:00
John Maddock d4290a588f Apply Clang patch from Michel Morin.
[SVN r77146]
2012-03-01 11:27:18 +00:00
John Maddock 5e1995dcf8 Update to GCC support: support up to 128-byte alignments.
[SVN r76306]
2012-01-04 17:13:24 +00:00
Frédéric Bron e41fd89f7e operator traits: own operator definition moved up to fix clang failures
[SVN r74924]
2011-10-12 05:14:48 +00:00
Frédéric Bron da123a1166 operator traits: uniform handling of warning removal
[SVN r74920]
2011-10-11 20:38:20 +00:00
Frédéric Bron 5d84dee264 operator traits: added #include for operator traits in 'include all header' type_traits.hpp
[SVN r74860]
2011-10-09 18:51:44 +00:00
Frédéric Bron 9e0c22f76a operator traits: deprecated operator++(bool) is now correctly handled (has_{pre,post}_increment<bool>::value==false
[SVN r74841]
2011-10-09 08:24:42 +00:00