Commit Graph
1329 Commits
Author SHA1 Message Date
jzmaddock 7aeee229b9 Merge pull request #88 from boostorg/feature/is_noncopyable
Do not include boost/noncopyable.hpp to avoid a dependency on Core
2018-08-27 18:09:12 +01:00
Peter Dimov 0d7d9c72ef Add comment describing the use of noncopyable_::base_token 2018-08-25 15:36:29 +03:00
Peter Dimov 91c5184fca Do not include boost/noncopyable.hpp to avoid a dependency on Core 2018-08-25 01:45:50 +03:00
jzmaddock 7639c5820b is_function_test.cpp: correct macro usage (again). 2018-08-14 19:40:40 +01:00
jzmaddock 529b3fe7bd Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-08-14 17:54:31 +01:00
jzmaddock e4f356dab3 Use correct macro in is_function_test.cpp. 2018-08-14 17:54:14 +01:00
jzmaddock 685c47ecca Use the correct feature macro in is_function.hpp 2018-08-14 09:39:40 +01:00
jzmaddock 17af798061 Merge pull request #85 from boostorg/issue6
Big update for is_function and is_member_function_pointer for modern …
2018-08-13 18:31:06 +01:00
jzmaddock e0868d6474 GCC warning fix has to be constrained to gcc-7. 2018-08-13 09:29:46 +01:00
jzmaddock 4b6b13ad25 Disable gcc warning. 2018-08-12 19:37:33 +01:00
jzmaddock c3412181c4 Refactor is_function.hpp/is_member_function_pointer.hpp:
With separate files for C++03 and C++11 versions.
Add workarounds for compilers with insufficient C++11 support to handle the new code.
Add support for C++17 noexcept function signatures and update tests accordingly.
2018-08-12 11:04:33 +01:00
jzmaddock 0c9643ee88 Disable some partial specializations in x64 mode. 2018-08-11 19:51:10 +01:00
jzmaddock 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.
2018-08-11 19:32:02 +01:00
jzmaddock f78c5330cd Document improved unary operators.
[CI SKIP]
2018-08-11 09:50:49 +01:00
jzmaddock baad6ce607 Merge pull request #84 from boostorg/issue80
Add tests for scoped_enums.
2018-08-11 09:26:47 +01:00
jzmaddock 635388aafd Issue80: remove redundant test. 2018-08-11 08:30:08 +01:00
jzmaddock 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.
2018-08-10 18:13:02 +01:00
jzmaddock a408a29ffc Update has_complement tests. 2018-08-10 12:52:21 +01:00
jzmaddock 5bd3e11429 Make the unary operator traits use "perfect" detection.
Update tests accordingly.
2018-08-09 19:48:36 +01:00
jzmaddock 344efaf161 Merge pull request #83 from boostorg/issue8
Tentative fix for msvc-10 issue with rvalue refs.
2018-08-07 20:50:22 +01:00
jzmaddock 56d111026c tricky_rvalue_test.cpp: correct msvc version workaround. 2018-08-07 18:23:38 +01:00
jzmaddock 8d740945a8 is_rvalue_reference: More partial specialisations for obsolete compilers. 2018-08-07 17:59:11 +01:00
jzmaddock e958c63a6d rvalue refs and msvc-10: add fix for is_function as well. 2018-08-06 19:20:34 +01:00
jzmaddock e574d2c134 Add tests for scoped_enums.
See https://github.com/boostorg/type_traits/issues/80 and https://svn.boost.org/trac10/ticket/9913.
2018-08-06 19:11:20 +01:00
jzmaddock 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.
2018-08-06 18:31:26 +01:00
jzmaddock 458b1fa071 Update docs on decay.
Fixes: https://github.com/boostorg/type_traits/issues/33.
[CI SKIP]
2018-08-06 13:22:28 +01:00
jzmaddock ad326841ec Correct spelling of "__clang__" so that the headers compile on clang/windows. 2018-08-03 18:31:46 +01:00
jzmaddock 373c9fc4b4 Travis: add gcc-8 to tested compilers. 2018-07-01 10:36:06 +01:00
jzmaddock 059ed8839d Merge branch 'develop' of https://github.com/boostorg/type_traits into develop boost-1.68.0 2018-05-27 10:59:40 +01:00
jzmaddock bd67d9075f Documentation update.
[CI SKIP]
2018-05-27 10:59:31 +01:00
jzmaddock 3b6c340fc2 Merge pull request #75 from dsakurai/develop
Use boost::declval instead of std::declval
2018-05-22 17:59:47 +01:00
jzmaddock c2c0b47565 Merge pull request #74 from boostorg/issue73
clang intrinsics: Use __is_trivially_constructible and __is_trivially…
2018-05-19 20:47:02 +01:00
jzmaddock 7b115c8d0e Tests: disable some failing tests for msvc-11.0. 2018-05-19 19:45:10 +01:00
jzmaddock 4c9add90d0 Intrinsics: update msvc trivial move intrinsics.
Tighten up the tests.
2018-05-19 09:29:13 +01:00
Daisuke Sakurai dec6869a3f Use boost::declval instead of std::declval 2018-05-18 16:18:30 +02:00
jzmaddock 7eab81300e clang intrinsics: disable trivial move construction testing for c++03. 2018-05-18 08:00:28 +01:00
jzmaddock 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.
2018-05-17 18:26:31 +01:00
jzmaddock a3114e9f79 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-05-15 18:23:17 +01:00
jzmaddock 6a1fbd45f6 Move some #pragma warning(pop)'s to the correct place. 2018-05-15 18:22:59 +01:00
jzmaddock 6eb8a15c25 Merge pull request #71 from boostorg/pr31
CI integration test for PR31.
2018-05-12 08:18:49 +01:00
jzmaddock 7bba2acbcc is_virtual_base_of.hpp: simplify and use clang version for all compilers. 2018-05-11 17:19:44 +01:00
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 e2041351c8 intrinsics.hpp: fix typo in comment. 2018-05-09 18:14:13 +01:00
jzmaddock 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.
2018-05-09 18:13:58 +01:00
jzmaddock e3fb4a6e85 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-05-09 18:01:27 +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