Alexander Grund
d71524a799
Make build -Wundef clean
...
Use `#ifdef __cpp_noexcept_function_type` instead of
`#if __cpp_noexcept_function_type` to avoid `-Wundef` warnings.
Also add that flag to the test flags to detect those on CI.
2022-07-07 10:05:05 +02:00
John Maddock
18b6e30e9c
Fix up CUDA device testing [CI SKIP]
2021-10-03 12:09:10 +01: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
Nikita Kniazev
6f7e2ec545
test.hpp: Suppress Clang -Wignored-qualifiers warning
...
../libs/type_traits/test/test.hpp:221:9: warning: 'const' qualifier on reference type 'r_type' (aka 'int &') has no effect [-Wignored-qualifiers]
2019-03-15 00:27:09 +03: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
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.
2018-02-02 18:17:03 +00:00
jzmaddock
c8c95f18ca
type_traits: function types, update to detect functions with exception specifications in is_function and is_member_function_pointer.
2018-02-01 19:14:30 +00:00
jzmaddock
85df11dad2
Don't test new aliases prior to gcc 4.6.4.
...
Add config_info output to travis build.
2017-05-19 08:40:54 +01:00
jzmaddock
bb867c86d8
Improve tests for new *_t template aliases.
...
Add missing *_t aliases.
2017-05-18 19:44:29 +01:00
jzmaddock
04a8a9ecc2
Need to use __is_polymorphic intrinsic with msvc
...
when final is supported.
Also improve tests.
2015-07-07 12:30:28 +01:00
K-ballo
5d936acc05
Added is_final type trait. Added BOOST_IS_FINAL intrinsic.
2014-08-19 14:45:00 -03:00
jzmaddock
7f7cde4378
Remove obsolete #includes - reduces dependency burden.
2014-02-20 11:32:01 +00:00
Antony Polukhin
0ef52c07fa
Added C++11 specific tests for implementation of is_nothrow_move_constructible and is_nothrow_move_assignable traits (refs #8189 ).
...
[SVN r83365]
2013-03-08 15:52:46 +00:00
John Maddock
2162f05dfc
Apply patches to correct typos from Michel Morin.
...
Refs #7683 .
[SVN r82241]
2012-12-28 18:21:09 +00:00
John Maddock
551385bd9c
Remove stray ; in test file.
...
Add some rvalue ref tests for is_convertible.
Enable use of intrinsics for Intel on Win32.
Fix rvalue ref usage in is_convertible.
[SVN r79983]
2012-08-12 17:57:27 +00:00
Gennadiy Rozental
360373e3ee
eliminated unit_test_framework and BOOST_MESSAGE
...
[SVN r74734]
2011-10-05 10:05:30 +00:00
John Maddock
8375014c95
Disable some embedded win32 warnings.
...
[SVN r71394]
2011-04-20 16:22:29 +00:00
John Maddock
28631034ca
Fix up type_traits intrinsic support when using the Intel compiler.
...
Suppress quite a few Intel-12.0 warnings.
[SVN r70221]
2011-03-20 12:18:59 +00:00
John Maddock
fd67e7f2db
Fix a few more compiler warnings.
...
[SVN r65273]
2010-09-04 17:36:23 +00:00
John Maddock
d06a16e0e9
Set warnings as errors in type_traits library, where possible.
...
[SVN r65188]
2010-09-02 09:32:35 +00:00
John Maddock
c8d4c6ccd1
Fix msvc and gcc warnings in the type_traits library.
...
Build should now be clean with cl /W4 or gcc -Wall -Wextra -pedantic for all except one test - there appears to be no way to use initialized aligned_storage with gcc without it producing a warning :-(
[SVN r57489]
2009-11-08 16:49:40 +00:00
John Maddock
f1817aeee1
Fixes #3317 .
...
Fix is_virtual_base_of so it doesn't lose exception specifications on it's destructors (causes GCC and maybe other compilers to choke).
[SVN r55428]
2009-08-06 08:54:45 +00:00
John Maddock
b253d45376
Mostly fix is_virtual_base_of on Borland.
...
[SVN r51988]
2009-03-26 17:57:05 +00:00
John Maddock
44bd98cc6b
Add is_virtual_base_of.
...
Add extra tests for is_base_of to test virtual inheritance.
Trivial warning fix for is_abstract: fixes #2827 .
[SVN r51754]
2009-03-13 17:55:21 +00:00
John Maddock
b5f0ef82b7
Updated tests for intrinsics.
...
[SVN r33758]
2006-04-21 12:59:28 +00:00
John Maddock
b1a35a8ee3
Updated is_base_of and is_convertible tests to match TR1 requirements.
...
Disabled tests that are Boost-specific, when TEST_STD is defined.
Suppress some gcc warnings.
[SVN r31632]
2005-11-12 17:30:30 +00:00
John Maddock
b5c4409c76
Suppressed some unnecessary VC++ warnings so that tests are -W4 clean.
...
[SVN r31219]
2005-10-07 14:27:39 +00:00
John Maddock
30571abccc
Added warning for "desirable" results that don't come true.
...
Cleaned up test types: they should be either "all-trivial" or "all-non-trivial".
Added new test cases for has_nothrow* traits.
Fixed test cases for has_virtual_destructor.
[SVN r28662]
2005-05-05 16:24:46 +00:00
John Maddock
8513618762
Updated is_convertible test cases to check polymorphic-type conversions.
...
Added more test types to testing header.
Changed utility code to use new test header.
[SVN r27807]
2005-03-24 18:20:18 +00:00
John Maddock
0a79e9cb27
Added missing tests, made std test mode TR1 conforming.
...
[SVN r26959]
2005-01-31 13:49:34 +00:00
John Maddock
ffb50c36ac
Rewitten test program infrastructure so that it does not depend upon Boost.Test (which causes cyclic rebuild dependencies).
...
[SVN r22326]
2004-02-19 13:40:07 +00:00
John Maddock
5e66227e35
Changed header include form so that it won't break bjam dependency analysis anymore.
...
[SVN r20636]
2003-11-04 11:32:42 +00:00
John Maddock
b509fb943a
Changed over to new boost license
...
[SVN r20275]
2003-10-07 10:51:54 +00:00
Guillaume Melquiond
786733ac67
Use the recently added BOOST_INTEL macro
...
[SVN r18511]
2003-05-23 11:53:49 +00:00
Guillaume Melquiond
323dde4110
Remove all warnings for Intel compiler on Linux as it is already done on Windows
...
[SVN r18432]
2003-05-18 11:12:24 +00:00
John Maddock
0572dd3713
Updated tests to stress new is_convertible and is_base_and_derived improvements.
...
Updated docs accordingly.
[SVN r17147]
2003-02-01 12:12:08 +00:00
John Maddock
cdc8512d63
Updated tests to reflect what really does fail with broken compilers.
...
[SVN r16013]
2002-10-29 12:14:14 +00:00
John Maddock
6c67b3bbc0
Added copyright declarations.
...
[SVN r15986]
2002-10-26 11:35:35 +00:00
John Maddock
1efa8a8319
Added new type traits tests.
...
[SVN r15974]
2002-10-24 10:18:05 +00:00