Commit Graph

325 Commits

Author SHA1 Message Date
jzmaddock
741b8b395b clean up inspection failures and add circle-ci testing. 2019-08-22 19:17:36 +01: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
625c40e750
Merge pull request #112 from glenfe/develop
Implement copy_reference and copy_cv_ref
2019-02-26 20:16:42 +00:00
Glen Fernandes
6a472a381d Implement copy_reference and copy_cv_ref 2019-02-23 00:05:35 -05:00
Nikita Kniazev
e1f882b25d
is_assignable_test: Fixed copy-paste error
The test `is_assignable<noexcept_assignable&>` checks self-assignability, while the
operator was defined for other type, so it was testing the non-noexcept implicit
generated copy assignment operator instead.
2019-02-19 19:11:03 +03: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
55a3ee0a3d clang/OSX: Disable untestable is_function/is_member_function bits. 2019-01-07 18:30:22 +00:00
Glen Fernandes
d8bdd309d7 Implement is_bounded_array and is_unbounded_array 2019-01-07 00:30:16 -05: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
1ead421054 Add better tests for msvc native calling conventions. 2019-01-03 17:52:51 +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
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
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
e4f356dab3 Use correct macro in is_function_test.cpp. 2018-08-14 17:54:14 +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
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
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
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
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
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
jzmaddock
6eb8a15c25
Merge pull request #71 from boostorg/pr31
CI integration test for PR31.
2018-05-12 08:18:49 +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
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
01f9a0b43a Add test for const-qualified final classes. 2018-05-08 18:53:17 +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
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
59e81bca80 Tentative fix for git issue #56: failing has_nothrow_copy with deleted constructor 2018-05-07 09:47:06 +01:00
jzmaddock
e34ad30482 Fix some more gcc-4.5/6 testing errors. 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