Commit Graph
1283 Commits
Author SHA1 Message Date
John Maddock fbc50bfd12 is_virtual_base_of: more workarounds for clang and older gcc versions 2018-05-10 11:34:02 +01:00
jzmaddock 02270ed668 is_virtual_base_of: tentative fixes for clang and older gcc versions.
[CI SKIP]
2018-05-10 10:31:24 +01:00
jzmaddock 770c095dcc is_virtual_base_of_test.cpp: add more tests for tricky cases and bug reports. 2018-05-09 19:31:45 +01:00
jzmaddock 63dea93d99 is_virtual_base_of.hpp: Reinstate old version for old broken compilers. 2018-05-09 19:14:50 +01:00
jzmaddock 2cc2697e53 Merge branch 'hotfix/is_virtual_base_of' of https://github.com/csernib/type_traits into pr31 2018-05-08 18:59:29 +01:00
jzmaddock 01f9a0b43a Add test for const-qualified final classes. 2018-05-08 18:53:17 +01:00
jzmaddock eda07fdec9 common_arithmetic_type.hpp: remove duplicate const. 2018-05-08 11:09:25 +01:00
jzmaddock 963131c1db is_final_test.cpp: Fix for compilers with no final keyword. 2018-05-08 07:58:34 +01:00
jzmaddock 356635219b Fix for is_final which works around GCC bug, see https://github.com/boostorg/type_traits/issues/69 2018-05-07 18:50:28 +01:00
jzmaddock 1305001a58 Trivial fix for GCCXML, fixes: https://github.com/boostorg/type_traits/issues/69 2018-05-07 18:49:53 +01:00
jzmaddock d06ee12c5c has_nothrow_copy: new test case fails for msvc-12 and there seems to be no way to make it work. 2018-05-07 18:18:44 +01:00
John Maddock 9052a3830e has_nothrow_copy: disable intrinsic for gcc-4.8 as well as 4.7, and the test for gcc-4.4 2018-05-07 13:36:20 +01:00
John Maddock 53f99bb1a6 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-05-07 09:47:45 +01:00
John Maddock 59e81bca80 Tentative fix for git issue #56: failing has_nothrow_copy with deleted constructor 2018-05-07 09:47:06 +01:00
jzmaddock 9e880c3187 Merge pull request #70 from Flast/patch-2
Fixed a typo in is_assignable doc
2018-05-07 08:09:14 +01:00
Kohei Takahashi 9548118ed4 Fixed a typo in is_assignable doc 2018-05-07 12:50:25 +09:00
jzmaddock 547263c001 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-05-04 20:04:14 +01:00
jzmaddock 7e9909324a Fix missing #pragma warning(pop)'s for msvc
Fixes https://github.com/boostorg/type_traits/issues/68
2018-05-04 20:03:59 +01:00
jzmaddock 307f37ab58 Merge pull request #65 from danieljames/include-yes-no-type
Include yes_no_type.hpp from is_complete.hpp
2018-03-31 11:38:12 +01:00
jzmaddock 4c3706113a Fix for type-punning warnings from gcc.
See: https://svn.boost.org/trac10/ticket/13479
2018-03-29 11:31:35 +01:00
Daniel James 2bb1021fe8 Include yes_no_type.hpp from is_complete.hpp 2018-03-14 13:49:25 +00:00
jzmaddock e34ad30482 Fix some more gcc-4.5/6 testing errors. boost-1.67.0 2018-03-13 18:32:15 +00:00
jzmaddock 7e19a87e67 Update tests for GCC-4.6.x failures.
Also suppress one new msvc warning (from 14.1 update 6).
2018-03-13 18:03:18 +00:00
jzmaddock ab184c2def Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-03-13 08:55:44 +00:00
jzmaddock bc54a3f54f Travis.yml: add gcc-4.4 and 4.6 testers. 2018-03-13 08:55:30 +00:00
John Maddock b06185c29f is_nothrow_move_constructible: Tentatively re-enable support for gcc-4.7.x as it seems to work locally 2018-03-07 19:04:26 +00:00
jzmaddock 24fa07bbd7 Update history and regenerate docs.
[CI SKIP]
2018-02-21 18:51:22 +00:00
jzmaddock 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.
2018-02-21 18:30:50 +00:00
jzmaddock 5240cd67d8 Comparison tests: disable tests that gcc-4.6 and earlier cannot handle. 2018-02-16 19:38:41 +00:00
jzmaddock 10f09a6327 is_complete: implementation chokes with gcc-4.5, disable for that compiler.
[CI SKIP]
2018-02-16 19:32:41 +00:00
jzmaddock 75160cd755 clang: we can't use the new operator detector code for clang < 3.2. 2018-02-16 19:08:49 +00:00
jzmaddock 8d938a4bb9 binary operator traits: previous fix using is_complete can't be used since even incomplete types may have non-member operators declared. 2018-02-14 18:09:52 +00:00
jzmaddock 875b95974a binary operators: msvc-12 and under can't cope with new gcc workarounds, so disable in that case. 2018-02-13 19:55:06 +00:00
John Maddock 84f9b6da68 binary operators: add revised workaounds for gcc-4.7 and 4.8 2018-02-13 19:18:12 +00:00
John Maddock 28658d6c11 Comparison operators: add poor man's workaround for captureless lambdas 2018-02-12 18:30:08 +00:00
jzmaddock 0155b7030c Update docs for binary operator traits. 2018-02-11 11:31:23 +00:00
jzmaddock 014ac72782 Switch to a centralised macro for binary operator traits implementation selection. 2018-02-10 17:40:39 +00:00
jzmaddock 7d42b545e9 Merge pull request #62 from glenfe/develop
For MSVC2017 use detector_t instead of make_void
2018-02-10 11:59:38 +00:00
jzmaddock 3a0382ccbe Merge pull request #64 from boostorg/issue_13012
Improve binary operators.
2018-02-10 11:45:32 +00:00
John Maddock fb4430512d Fix up -= and += detection for clang. 2018-02-09 18:20:23 +00:00
John Maddock 94e54c030d binary operators: disable new code for older gcc versions 2018-02-08 19:21:13 +00:00
jzmaddock 98d6eaf1e9 Add missing function bodies to test cases - it suppresses gcc warnings. 2018-02-08 09:02:05 +00:00
jzmaddock e9399adefa Add tests for improved binary operators. 2018-02-07 19:50:26 +00:00
jzmaddock 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.
2018-02-07 19:14:50 +00:00
jzmaddock fdf9b67335 is_complete: correct namespace names. 2018-02-07 18:03:08 +00:00
jzmaddock ed21a2d9c7 is_complete: no std::declval in gcc-4.4 and earlier.
So disable in that case.
2018-02-07 18:00:06 +00:00
Glen Fernandes b406b574a5 For MSVC2017 use detector_t, instead of make_void.
(Not using boost::void_t to workaround a VC12 defect)
2018-02-06 22:16:52 -05:00
jzmaddock 6d294b5ff2 is_complete: qualify the detail namespace as otherwise it can trip up msvc-14.0. 2018-02-05 12:05:15 +00:00
jzmaddock 23520c13a1 Merge pull request #61 from boostorg/issue12285
Assert when we try to use an incomplete type on a trait which require…
2018-02-04 19:27:23 +00:00
jzmaddock df4eccb911 Document is_complete.
[CI SKIP]
2018-02-04 19:26:10 +00:00