Commit Graph
1471 Commits
Author SHA1 Message Date
jzmaddock 6433e2fa79 Update CI scripts.
Update C++20 testing in has_right_shift_test.cpp.
2023-10-15 11:35:15 +01:00
jzmaddock 1573a2c473 Add support for C++23 <stdfloat> types. 2023-10-13 19:45:24 +01:00
jzmaddock 1ebd31e60e Remove redundant CI test. 2023-02-23 18:23:02 +00:00
jzmaddock 155cb2e47c Merge pull request #178 from Lastique/feature/is_swappable
Add `is swappable` trait.
2023-02-23 18:20:08 +00:00
Andrey Semashev 5f43b22861 Reuse is_swappable implementation in is_nothrow_swappable for gcc < 4.7.
This avoids applying noexcept operator to a potentially invalid
swap expression, which should resolve ICE with gcc 4.6.
2023-02-19 16:22:48 +03:00
Andrey Semashev fc61f298bf Added is_swappable(_with) traits. 2023-02-19 16:22:41 +03:00
Andrey Semashev 1c31fee575 Extracted C++11 implementation of is_nothrow_swappable to a separate header.
Also modified the implementation to avoid referencing any potential swap
overloads in namespace boost, unless these overloads are found by ADL.

Added tests to verify is_nothrow_swappable works with ADL.
2023-02-18 23:53:35 +03:00
jzmaddock 2370288a79 Update operators docs.
Fixes https://github.com/boostorg/type_traits/issues/160.
2022-11-21 18:24:04 +00:00
jzmaddock 6ffc0e5ebd Merge pull request #176 from boostorg/pr/char8_t-is-integral
Specialize boost::is_integral for char8_t when available. Fixes #175.
2022-11-06 18:37:51 +00:00
Peter Dimov f753087cd0 Specialize boost::is_integral for char8_t when available. Fixes #175. 2022-10-30 03:45:54 +03:00
jzmaddock 990166cd59 Merge pull request #174 from ecatmur/clang-15-intrinsics
Replace clang 15 deprecated intrinsics
boost-1.81.0.beta1
2022-09-13 12:08:26 +01:00
Ed Catmur e1d0699a82 Move test for __has_builtin to enclosing #if
Clang has __has_builtin since at least version 3
2022-09-12 12:29:09 +01:00
Ed Catmur a1d0b207c5 Replace deprecated intrinsics
https://github.com/boostorg/type_traits/issues/173
2022-09-06 20:05:36 +01:00
jzmaddock fdef681a84 Merge pull request #172 from Flamefire/wundef
Make build `-Wundef` clean
2022-07-07 11:17:26 +01:00
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
jzmaddock d2a4a6bf0a Merge pull request #167 from boostorg/msvc2022_ci
Correct CI workflow and add 2022 tests.
boost-1.79.0 boost-1.80.0.beta1 boost-1.80.0 boost-1.79.0.beta1
2022-02-11 09:56:38 +00:00
jzmaddock 273678042d Correct CI workflow and add 2022 tests. 2022-02-10 18:06:40 +00:00
jzmaddock bc26f6b192 Merge pull request #157 from eldiener/develop
[skip ci] Fixed operator traits example code for last issue.
2022-02-10 13:12:02 +00: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
jzmaddock b265ce8f3a Merge branch 'develop' of https://github.com/boostorg/type_traits into develop 2021-10-06 08:56:09 +01:00
jzmaddock e3dd034588 Remove obsolete test runner Xenial. 2021-10-06 08:55:49 +01:00
jzmaddock d37dc8c4b9 Merge pull request #162 from boostorg/test_on_cuda
Initial CUDA testing.
2021-10-06 08:18:21 +01:00
jzmaddock 7ac69733b8 Update CI scripts for testing with CUDA device compile.
Fix inspection report issues.
2021-10-03 12:20:08 +01:00
John Maddock 18b6e30e9c Fix up CUDA device testing [CI SKIP] 2021-10-03 12:09:10 +01:00
John Maddock 09b102587f Misc CUDA testing fixes 2021-10-02 15:13:42 +01:00
jzmaddock a842eeda5c Initial CUDA testing. 2021-10-01 19:10:34 +01:00
Peter Dimov 693488cb29 Fix misspelled macro name 2021-07-04 19:55:29 +03:00
Peter Dimov bfce306637 Update CMakeLists.txt boost-1.77.0 boost-1.78.0.beta1 boost-1.78.0 boost-1.77.0.beta1 2021-06-10 02:04:51 +03:00
jzmaddock 3d246cb5d1 Merge pull request #158 from sdarwin/meta_libraries
Fix comma in meta/libraries.json
2021-04-20 18:27:37 +01:00
sdarwin 567774cacb Fix comma in meta/libraries.json 2021-04-20 16:03:18 +00:00
Edward Diener cdbb996d3a Fixed operator traits example code for last issue. 2021-04-19 12:41:39 -04:00
jzmaddock 30396ed792 Merge pull request #155 from boostorg/pr130
Integration test for PR130
boost-1.76.0.beta1 boost-1.76.0
2021-03-08 11:40:41 +00: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 61c9e7699c C++latest not supported in /CLR mode. 2021-03-07 20:13:26 +00:00
jzmaddock 64eb4e2f40 Add managed clr tests.
Remove travis and appveyor.
2021-03-07 19:39:50 +00:00
jzmaddock c3c1357c3d Fix up C++20 failure. 2021-03-07 12:44:18 +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 4c2b7d5215 Try again with --hash on b2 command line. 2021-03-07 10:51:38 +00:00
jzmaddock a105c3531c Add GHA first cut. 2021-03-07 10:36:17 +00:00
jzmaddock d1994736b9 Fix for recent libc++ versions.
Tidy up drone script a little more.
2021-01-27 20:08:11 +00:00
jzmaddock d9d298170f Tidy up drone script. 2021-01-27 19:33:37 +00:00
jzmaddock 95c8a8a567 Mark testing binary member operators as const.
Otherwise they generate ambiguities in C++20.
2021-01-27 19:33:13 +00:00
jzmaddock 89a062e7b8 Disable testing volatile return types in C++20:
as they're deprecated.
2021-01-27 19:32:29 +00:00
Edward Diener 1b0cf49465 Merge pull request #152 from eldiener/develop
[skip ci] Add "cxxstd" json field
2021-01-21 19:34:33 -05:00
Edward Diener 2b8b797b88 [skip ci] Add "cxxstd" json field. The "cxxstd" json field is being added to each Boost library's meta json information for libraries in order to specify the minumum C++ standard compilation level. The value of this field matches one of the values for 'cxxstd' in Boost.Build. The purpose of doing this is to provide information for the Boost website documentation for each library which will specify the minimum C++ standard compilation that an end-user must employ in order to use the particular library. This will aid end-users who want to know if they can successfully use a Boost library based on their C++ compiler's compilation level, without having to search the library's documentation to find this out. 2021-01-21 16:26:33 -05:00
jzmaddock a2cffe9c04 Update compilers tested on drone CI. 2021-01-18 17:05:49 +00:00