Commit Graph

  • 0c9643ee88 Disable some partial specializations in x64 mode. jzmaddock 2018-08-11 19:51:10 +01:00
  • 52fbd03a6c Big update for is_function and is_member_function_pointer for modern compilers with modern features. See https://github.com/boostorg/type_traits/issues/81. jzmaddock 2018-08-11 19:32:02 +01:00
  • f78c5330cd Document improved unary operators. [CI SKIP] jzmaddock 2018-08-11 09:50:49 +01:00
  • baad6ce607 Merge pull request #84 from boostorg/issue80 jzmaddock 2018-08-11 09:26:47 +01:00
  • 635388aafd Issue80: remove redundant test. jzmaddock 2018-08-11 08:30:08 +01:00
  • 66a146c1cb Disable additional specialization for is_function for msvc-10.0 - it doesn't work and leads to ambiguous overloads. Also change the expected result of some tests for msvc-14.0. jzmaddock 2018-08-10 18:13:02 +01:00
  • a408a29ffc Update has_complement tests. jzmaddock 2018-08-10 12:52:21 +01:00
  • 5bd3e11429 Make the unary operator traits use "perfect" detection. Update tests accordingly. jzmaddock 2018-08-09 19:48:36 +01:00
  • 344efaf161 Merge pull request #83 from boostorg/issue8 jzmaddock 2018-08-07 20:50:22 +01:00
  • 56d111026c tricky_rvalue_test.cpp: correct msvc version workaround. jzmaddock 2018-08-07 18:23:38 +01:00
  • 8d740945a8 is_rvalue_reference: More partial specialisations for obsolete compilers. jzmaddock 2018-08-07 17:59:11 +01:00
  • e958c63a6d rvalue refs and msvc-10: add fix for is_function as well. jzmaddock 2018-08-06 19:20:34 +01:00
  • e574d2c134 Add tests for scoped_enums. See https://github.com/boostorg/type_traits/issues/80 and https://svn.boost.org/trac10/ticket/9913. jzmaddock 2018-08-06 19:11:20 +01:00
  • 0c59e22982 Tentative fix for msvc-10 issue with rvalue refs. See: https://svn.boost.org/trac10/ticket/5795 and https://github.com/boostorg/type_traits/issues/78. jzmaddock 2018-08-06 18:31:26 +01:00
  • 458b1fa071 Update docs on decay. Fixes: https://github.com/boostorg/type_traits/issues/33. [CI SKIP] jzmaddock 2018-08-06 13:22:12 +01:00
  • ad326841ec Correct spelling of "__clang__" so that the headers compile on clang/windows. jzmaddock 2018-08-03 18:31:46 +01:00
  • 373c9fc4b4 Travis: add gcc-8 to tested compilers. jzmaddock 2018-07-01 10:36:06 +01:00
  • 059ed8839d Merge branch 'develop' of https://github.com/boostorg/type_traits into develop boost-1.68.0 jzmaddock 2018-05-27 10:59:40 +01:00
  • bd67d9075f Documentation update. [CI SKIP] jzmaddock 2018-05-27 10:59:31 +01:00
  • 3b6c340fc2 Merge pull request #75 from dsakurai/develop jzmaddock 2018-05-22 17:59:47 +01:00
  • c2c0b47565 Merge pull request #74 from boostorg/issue73 jzmaddock 2018-05-19 20:47:02 +01:00
  • 7b115c8d0e Tests: disable some failing tests for msvc-11.0. jzmaddock 2018-05-19 19:45:10 +01:00
  • 4c9add90d0 Intrinsics: update msvc trivial move intrinsics. Tighten up the tests. jzmaddock 2018-05-19 09:29:13 +01:00
  • dec6869a3f Use boost::declval instead of std::declval Daisuke Sakurai 2018-05-18 15:08:25 +02:00
  • 7eab81300e clang intrinsics: disable trivial move construction testing for c++03. jzmaddock 2018-05-18 08:00:28 +01:00
  • 8898c6d1bb clang intrinsics: Use __is_trivially_constructible and __is_trivially_assignable to test for trivial move construct and assign. See https://github.com/boostorg/type_traits/issues/73. jzmaddock 2018-05-17 18:26:31 +01:00
  • a3114e9f79 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop jzmaddock 2018-05-15 18:23:17 +01:00
  • 6a1fbd45f6 Move some #pragma warning(pop)'s to the correct place. jzmaddock 2018-05-15 18:22:59 +01:00
  • 6eb8a15c25 Merge pull request #71 from boostorg/pr31 jzmaddock 2018-05-12 08:18:49 +01:00
  • 7bba2acbcc is_virtual_base_of.hpp: simplify and use clang version for all compilers. jzmaddock 2018-05-11 17:19:44 +01:00
  • fbc50bfd12 is_virtual_base_of: more workarounds for clang and older gcc versions John Maddock 2018-05-10 11:34:02 +01:00
  • 02270ed668 is_virtual_base_of: tentative fixes for clang and older gcc versions. [CI SKIP] jzmaddock 2018-05-10 10:31:24 +01:00
  • 770c095dcc is_virtual_base_of_test.cpp: add more tests for tricky cases and bug reports. jzmaddock 2018-05-09 19:31:45 +01:00
  • 63dea93d99 is_virtual_base_of.hpp: Reinstate old version for old broken compilers. jzmaddock 2018-05-09 19:14:50 +01:00
  • e2041351c8 intrinsics.hpp: fix typo in comment. jzmaddock 2018-05-09 18:14:13 +01:00
  • b48fae5352 is_final_test.cpp: disable some tests for msvc-12 for which there is no workaround. The compiler is unable to detect final class templates. jzmaddock 2018-05-09 18:13:58 +01:00
  • e3fb4a6e85 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop jzmaddock 2018-05-09 18:01:27 +01:00
  • 2cc2697e53 Merge branch 'hotfix/is_virtual_base_of' of https://github.com/csernib/type_traits into pr31 jzmaddock 2018-05-08 18:59:29 +01:00
  • 01f9a0b43a Add test for const-qualified final classes. jzmaddock 2018-05-08 18:53:17 +01:00
  • 00951845fb Merge pull request #60 from Flast/patch-1 jzmaddock 2018-05-08 18:38:34 +01:00
  • eda07fdec9 common_arithmetic_type.hpp: remove duplicate const. jzmaddock 2018-05-08 11:09:25 +01:00
  • 963131c1db is_final_test.cpp: Fix for compilers with no final keyword. jzmaddock 2018-05-08 07:58:34 +01:00
  • 356635219b Fix for is_final which works around GCC bug, see https://github.com/boostorg/type_traits/issues/69 jzmaddock 2018-05-07 18:50:28 +01:00
  • 1305001a58 Trivial fix for GCCXML, fixes: https://github.com/boostorg/type_traits/issues/69 jzmaddock 2018-05-07 18:49:53 +01:00
  • d06ee12c5c has_nothrow_copy: new test case fails for msvc-12 and there seems to be no way to make it work. jzmaddock 2018-05-07 18:18:44 +01:00
  • 9052a3830e has_nothrow_copy: disable intrinsic for gcc-4.8 as well as 4.7, and the test for gcc-4.4 John Maddock 2018-05-07 13:36:20 +01:00
  • 53f99bb1a6 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop John Maddock 2018-05-07 09:47:45 +01:00
  • 59e81bca80 Tentative fix for git issue #56: failing has_nothrow_copy with deleted constructor John Maddock 2018-05-07 09:47:06 +01:00
  • 9e880c3187 Merge pull request #70 from Flast/patch-2 jzmaddock 2018-05-07 08:09:14 +01:00
  • 9548118ed4 Fixed a typo in is_assignable doc Kohei Takahashi 2018-05-07 12:50:25 +09:00
  • 547263c001 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop jzmaddock 2018-05-04 20:04:14 +01:00
  • 7e9909324a Fix missing #pragma warning(pop)'s for msvc Fixes https://github.com/boostorg/type_traits/issues/68 jzmaddock 2018-05-04 20:03:59 +01:00
  • 307f37ab58 Merge pull request #65 from danieljames/include-yes-no-type jzmaddock 2018-03-31 11:38:12 +01:00
  • 4c3706113a Fix for type-punning warnings from gcc. See: https://svn.boost.org/trac10/ticket/13479 jzmaddock 2018-03-29 11:31:35 +01:00
  • 2bb1021fe8 Include yes_no_type.hpp from is_complete.hpp Daniel James 2018-03-14 13:49:25 +00:00
  • e34ad30482 Fix some more gcc-4.5/6 testing errors. boost-1.67.0 jzmaddock 2018-03-13 18:32:15 +00:00
  • 7e19a87e67 Update tests for GCC-4.6.x failures. Also suppress one new msvc warning (from 14.1 update 6). jzmaddock 2018-03-13 18:03:18 +00:00
  • ab184c2def Merge branch 'develop' of https://github.com/boostorg/type_traits into develop jzmaddock 2018-03-13 08:55:44 +00:00
  • bc54a3f54f Travis.yml: add gcc-4.4 and 4.6 testers. jzmaddock 2018-03-13 08:55:30 +00:00
  • b06185c29f is_nothrow_move_constructible: Tentatively re-enable support for gcc-4.7.x as it seems to work locally John Maddock 2018-03-07 19:04:26 +00:00
  • 24fa07bbd7 Update history and regenerate docs. [CI SKIP] jzmaddock 2018-02-21 18:51:22 +00:00
  • e5003ad808 is_likely_lambda.hpp: Allow use of the workaround for msvc-14.0. Note that 14.0 update 3 doesn't require this, but update 2 and earlier do. jzmaddock 2018-02-21 18:30:50 +00:00
  • 5240cd67d8 Comparison tests: disable tests that gcc-4.6 and earlier cannot handle. jzmaddock 2018-02-16 19:38:41 +00:00
  • 10f09a6327 is_complete: implementation chokes with gcc-4.5, disable for that compiler. [CI SKIP] jzmaddock 2018-02-16 19:32:41 +00:00
  • 75160cd755 clang: we can't use the new operator detector code for clang < 3.2. jzmaddock 2018-02-16 19:08:49 +00:00
  • 8d938a4bb9 binary operator traits: previous fix using is_complete can't be used since even incomplete types may have non-member operators declared. jzmaddock 2018-02-14 18:09:52 +00:00
  • 875b95974a binary operators: msvc-12 and under can't cope with new gcc workarounds, so disable in that case. jzmaddock 2018-02-13 19:55:06 +00:00
  • 84f9b6da68 binary operators: add revised workaounds for gcc-4.7 and 4.8 John Maddock 2018-02-13 19:18:12 +00:00
  • 28658d6c11 Comparison operators: add poor man's workaround for captureless lambdas John Maddock 2018-02-12 18:30:08 +00:00
  • 0155b7030c Update docs for binary operator traits. jzmaddock 2018-02-11 11:31:23 +00:00
  • 014ac72782 Switch to a centralised macro for binary operator traits implementation selection. jzmaddock 2018-02-10 17:40:39 +00:00
  • 7d42b545e9 Merge pull request #62 from glenfe/develop jzmaddock 2018-02-10 11:59:38 +00:00
  • 3a0382ccbe Merge pull request #64 from boostorg/issue_13012 jzmaddock 2018-02-10 11:45:32 +00:00
  • fb4430512d Fix up -= and += detection for clang. John Maddock 2018-02-09 18:20:23 +00:00
  • 94e54c030d binary operators: disable new code for older gcc versions John Maddock 2018-02-08 19:21:13 +00:00
  • 98d6eaf1e9 Add missing function bodies to test cases - it suppresses gcc warnings. jzmaddock 2018-02-08 09:02:05 +00:00
  • e9399adefa Add tests for improved binary operators. jzmaddock 2018-02-07 19:50:26 +00:00
  • e4d3cba6dd Binary Operators: switch to the "detection idiom" if the compiler supports it. This gives us almost perfect fidelity in the detection and solves the known issues for binary operators. Also fixes: https://svn.boost.org/trac10/ticket/13012. jzmaddock 2018-02-07 19:14:50 +00:00
  • fdf9b67335 is_complete: correct namespace names. jzmaddock 2018-02-07 18:03:08 +00:00
  • ed21a2d9c7 is_complete: no std::declval in gcc-4.4 and earlier. So disable in that case. jzmaddock 2018-02-07 18:00:06 +00:00
  • b406b574a5 For MSVC2017 use detector_t, instead of make_void. Glen Fernandes 2018-02-06 19:41:13 -05:00
  • 6d294b5ff2 is_complete: qualify the detail namespace as otherwise it can trip up msvc-14.0. jzmaddock 2018-02-05 12:05:15 +00:00
  • 23520c13a1 Merge pull request #61 from boostorg/issue12285 jzmaddock 2018-02-04 19:27:23 +00:00
  • df4eccb911 Document is_complete. [CI SKIP] jzmaddock 2018-02-04 19:26:10 +00:00
  • 0886e13a99 Assert completeness fixes: fix up msvc failures. jzmaddock 2018-02-04 18:15:34 +00:00
  • bfb6384a0a Assert on incomplete types: begin fixing test failures for msvc-12.0, 14.0, and clang. jzmaddock 2018-02-04 12:52:24 +00:00
  • ac351390b2 Assert when we try to use an incomplete type on a trait which requires complete types as arguments. This prevents some traits from doing the wrong thing (ie compiling but giving the wrong answer when handed an incomplete type. See https://svn.boost.org/trac10/ticket/12285. A by-product of this is we add is_complete as a new trait. jzmaddock 2018-02-04 10:03:30 +00:00
  • 85a03d3453 Fix integral_constant.hpp for the case where the user has explicitly defined BOOST_MPL_CFG_NO_ADL_BARRIER_NAMESPACE. Fixes: https://svn.boost.org/trac10/ticket/12212 jzmaddock 2018-02-03 16:18:12 +00:00
  • 33bd73e26d Add macro to indicate when is_constructible is fully implemented. Fixes: https://svn.boost.org/trac10/ticket/12003 [SKIP CI] jzmaddock 2018-02-02 19:24:52 +00:00
  • 30b029d937 Fix typos in is_mem_fun_pointer_tester.hpp. See https://svn.boost.org/trac10/ticket/11884 [SKIP CI] jzmaddock 2018-02-02 19:18:18 +00:00
  • f5823d6732 type_traits:function type testing, change to explicit noexcept specifiers as clang-4 can't handle partial-specialisation on noexcept(bool). Also reinstate and test support for functions with ellipsis. jzmaddock 2018-02-02 18:17:03 +00:00
  • 29c6fc7aa2 Added is_final intrinsic for msvc 2013 and later Kohei Takahashi 2018-02-02 12:12:27 +09:00
  • c8c95f18ca type_traits: function types, update to detect functions with exception specifications in is_function and is_member_function_pointer. jzmaddock 2018-02-01 19:14:30 +00:00
  • b78fd5f29d Type_traits.detection idiom: flesh out docs and add history. jzmaddock 2018-01-31 18:55:04 +00:00
  • 35c105501b Implement detection idiom toolkit Glen Fernandes 2017-12-04 08:33:21 -05:00
  • 5d5c651ea6 Type_traits.is_default_constructible: workaround for std::pair is required for more compilers. We don't need functional appveyor.yml any more. jzmaddock 2018-01-28 10:44:12 +00:00
  • 05c4fdcabb Merge branch 'feature/container_hash' of https://github.com/danieljames/type_traits into develop jzmaddock 2018-01-28 10:40:14 +00:00
  • 7beb519980 GCC-5.x also needs workaround for std::pair issue John Maddock 2018-01-27 18:31:28 +00:00
  • a6e879f091 Add tests and tentative fix for issue with clang mis-identifying pairs of non-constructible types. See github #51. John Maddock 2018-01-25 13:18:38 +00:00
  • 5ed289c317 Update docs. jzmaddock 2018-01-25 10:56:23 +00:00