808 Commits

Author SHA1 Message Date
jzmaddock
defcaf7f9b Add missing #include.
Add missing copyright.
2022-04-15 18:26:42 +01:00
jzmaddock
22fc50f36d Make type_traits usable as a module. 2022-04-14 19:16:06 +01:00
jzmaddock
a10ca89479 Merge pull request #163 from igaztanaga/patch-1
Fix -Wconversion warning for GCC / 64 bits
2022-02-10 13:10:42 +00:00
jzmaddock
a184e146e3 Merge pull request #161 from boostorg/pr/tt-has-accurate-function
Fix misspelled macro name
2022-02-10 13:10:02 +00:00
Ion Gaztañaga
8583d1a967 Fix -Wconversion warning for GCC / 64 bits
../../boost/type_traits/is_complete.hpp:47:14: error: conversion from ‘long unsigned int’ to ‘unsigned int’ may change value 
       ok_tag<sizeof(T)> check_is_complete(int);
2021-12-30 15:29:17 +01:00
John Maddock
09b102587f Misc CUDA testing fixes 2021-10-02 15:13:42 +01:00
Peter Dimov
693488cb29 Fix misspelled macro name 2021-07-04 19:55:29 +03:00
John Maddock
cea791882b Merge branch 'develop' of https://github.com/bionicOnion/type_traits into pr130 2021-03-08 09:36:28 +00:00
jzmaddock
396d97f5a6 Merge pull request #154 from boostorg/GHA
Add GHA first cut.
2021-03-08 09:32:29 +00:00
jzmaddock
cf497924b1 Merge pull request #145 from tobias-loew/develop
Update type_with_alignment.hpp
2021-03-07 11:47:40 +00:00
jzmaddock
71208778dd One more fix to CI script. Also fix msvc test failures. 2021-03-07 11:42:55 +00:00
jzmaddock
59951c1853 Add missing ).
Fixes https://github.com/boostorg/type_traits/issues/150.
2020-12-25 16:55:55 +00:00
Tobias Loew
106b442289 Update type_with_alignment.hpp 2020-09-10 08:38:13 +02:00
Tobias Loew
e4228d7260 Update type_with_alignment.hpp
Replaced dead link
2020-09-09 20:09:25 +02:00
Glen Fernandes
c6c7ff1647 Update is_trivially_copyable implementation for user move with defaulted copy 2020-08-14 09:53:04 -04:00
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
rmiller
97f71e0cb3 Issue 123: Revised /clr conditionals to handle __stdcall and __cdecl properly 2019-07-22 11:30:13 -05:00
rmiller
9351dae4a4 Issue 123: Modified preprocessor conditionals to fix errors with /clr builds 2019-07-16 16:08:12 -05: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