Commit Graph
791 Commits
Author SHA1 Message Date
Glen Fernandes f7f7dbf16e Implement is_trivially_copyable 2020-05-31 03:00:48 -04:00
Glen Fernandes 7a071a5918 Implement is_scoped_enum and is_unscoped_enum 2020-05-31 02:49:03 -04:00
Glen Fernandes f8e9879d4e Implement conjunction, disjunction, negation 2020-05-31 02:47:41 -04:00
Edward Diener ea2dae279f Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-23 09:21:49 -04:00
jzmaddock efc0be6b55 is_function_cxx_11.hpp: There's no __fastcall on clr.
Update for noexcept functions, also updates CI script to test C++17 as that's required to trigger the error.
Fixes: https://github.com/boostorg/type_traits/pull/124.
2019-06-13 11:49:46 +01:00
Minmin Gong dbc8980715 Fix the compiling errors in VS2019 ARM64 with /std:c++17 2019-06-07 10:53:40 +08:00
jzmaddock dea6757dbf Add support for noexcept detection via _NOEXCEPT_TYPES_SUPPORTED with msvc.
See https://github.com/boostorg/type_traits/issues/118#issuecomment-475228526
2019-03-22 19:25:33 +00:00
jzmaddock 7d89ec0426 Fix use of noexcept for msvc with /Zc:noexceptTypes- flag set.
Fixes https://github.com/boostorg/type_traits/issues/118.
2019-03-21 10:23:21 +00:00
Glen Fernandes 453564a501 Use make_void directly instead of void_t for compatibility 2019-02-27 08:29:43 -05:00
Glen Fernandes 6a472a381d Implement copy_reference and copy_cv_ref 2019-02-23 00:05:35 -05:00
jzmaddock 5e7844bea1 Fix up is_function/is_member_function_pointer for msvc/arm compiler. 2019-01-10 17:53:50 +00:00
jzmaddock c65f41d4c0 Merge pull request #104 from boostorg/travis-os-x-10.1
Travis: Update XCode versions.
2019-01-07 20:33:22 +00:00
jzmaddock c71e2ffb6e Merge pull request #95 from glenfe/develop
Implement is_bounded_array and is_unbounded_array
2019-01-07 18:34:40 +00:00
jzmaddock 38f9545757 is_member_function_pointer_cxx_11.hpp: and another attempt to get the clang OS X logic correct. 2019-01-07 13:37:11 +00:00
jzmaddock 649c585b9c is_member_function_pointer_cxx_11.hpp: don't specialize on noexcept for clang/apple. 2019-01-07 09:16:29 +00:00
Glen Fernandes d8bdd309d7 Implement is_bounded_array and is_unbounded_array 2019-01-07 00:30:16 -05:00
jzmaddock 941e29e0a6 Apple X Code doesn't support noexcept as a separate type in partial specializations. 2019-01-06 17:04:15 +00:00
jzmaddock 13d477be5d Travis CI: Add more OS X testers, plus clang-6.
Update configuration to handle more broken compilers that can't deduce noexcept parameters in template partial specializations.
2019-01-06 11:29:49 +00:00
jzmaddock 6fca9826f6 Add support for /arch:IA32 in msvc Win32 builds when there is no __vectorcall.
Add CI tests for that configuration.
2019-01-05 18:39:49 +00:00
jzmaddock cacb2bb3f6 Disable __fastcall for x86+CLR. 2019-01-05 09:14:57 +00:00
jzmaddock 3df3014681 Merge branch 'develop' into msvc-calling-convension-tests
Resolved Conflicts:
	include/boost/type_traits/detail/is_function_cxx_11.hpp
	include/boost/type_traits/detail/is_member_function_pointer_cxx_11.hpp
2019-01-04 19:35:57 +00:00
jzmaddock ee7e6ff397 Fix /clr test failures. 2019-01-04 18:18:37 +00:00
jzmaddock 16e04ea7c0 No __vectorcal prior to vc12. 2019-01-04 13:23:51 +00:00
jzmaddock fdb5378d12 Regenerate old workaround versions of function type testers to handle __vectorcall. 2019-01-03 19:19:54 +00:00
jzmaddock 72e02341a2 Fix is_likely_lambda.hpp for msvc-14.0 in CLR mode. 2019-01-03 17:59:30 +00:00
jzmaddock 51957092d2 Add CI support for testing /clr option with msvc.
Fix CLR failures thanks to : https://github.com/boostorg/type_traits/issues/99.
2018-12-30 09:58:53 +00:00
jzmaddock 19bc3525a3 config.hpp: change workaround to < gcc-4.8.5 rather than < 4.9.
See https://github.com/boostorg/type_traits/issues/97.
2018-11-26 17:51:00 +00:00
jzmaddock d49f6e05f5 Fix use of BOOST_WORKAROUND in config.hpp, should be BOOST_GCC < 40900 rather than <= 40800 in case there is a patch level. Fixes: https://github.com/boostorg/type_traits/issues/97 2018-11-26 17:41:45 +00:00
jzmaddock b6351c3def Fully qualify some names to prevent ambiguity over detail::. 2018-11-05 18:16:57 +00:00
jzmaddock a5bb8d7336 Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2018-09-14 17:41:16 +01:00
jzmaddock cbb9fecd92 Fix #pragma push/pop mismatch in is_virtual_base_of.hpp
Fixes https://github.com/boostorg/type_traits/issues/91.
2018-09-14 17:40:36 +01:00
Glen Fernandes fcc0711c33 Update e-mail address in comments 2018-09-08 11:17:06 -04:00
jzmaddock 744b49751a Merge pull request #89 from glenfe/develop
Add enable_if_ and enable_if_t. Sever dependency on Core.
2018-08-27 18:10:48 +01:00
Glen Fernandes 2baafd4a3a Add enable_if_ and enable_if_t. Sever dependency on Core. 2018-08-25 21:00:17 -04: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 685c47ecca Use the correct feature macro in is_function.hpp 2018-08-14 09:39:40 +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 baad6ce607 Merge pull request #84 from boostorg/issue80
Add tests for scoped_enums.
2018-08-11 09:26:47 +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 5bd3e11429 Make the unary operator traits use "perfect" detection.
Update tests accordingly.
2018-08-09 19:48:36 +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 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 ad326841ec Correct spelling of "__clang__" so that the headers compile on clang/windows. 2018-08-03 18:31:46 +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 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