18 Commits

Author SHA1 Message Date
Rene Rivera
d2f66abb22 Change all <source> references to <library>. 2024-07-20 21:27:13 -05:00
Rene Rivera
fc1decfa08 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Andrey Semashev
fc61f298bf Added is_swappable(_with) traits. 2023-02-19 16:22:41 +03: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
ac351390b2 Assert when we try to use an incomplete type on a trait which requires complete types as arguments.
This prevents some traits from doing the wrong thing (ie compiling but giving the wrong answer when handed an incomplete type.
See https://svn.boost.org/trac10/ticket/12285.
A by-product of this is we add is_complete as a new trait.
2018-02-04 10:03:30 +00:00
jzmaddock
bb94535ba8 Type_traits: add CI defines to Jamfile. Update travis script to build multiple configurations at once for faster build times. 2017-10-25 19:10:02 +01:00
Peter Dimov
d59b9f419e Suppress g++ bool use warnings 2017-07-21 13:33:56 +01:00
jzmaddock
2f2ca65e48 Switch to using boost::declval.
Change has_nothrow_copy to use is_copy_constructible as it has better broken-compiler workarounds than is_constructible.
2015-06-14 09:30:46 +01:00
jzmaddock
68413905af Update more compiler requirements. 2015-06-12 19:37:19 +01:00
jzmaddock
c1d885edbd Test nothrow_copy in no-intrinsics mode. 2015-06-09 18:52:17 +01:00
jzmaddock
34805a673f Improve has_nothrow_constructor with check for constructibility where required. 2015-06-05 18:08:35 +01:00
jzmaddock
916adca633 Add generic version of has_nothrow_assign.
Does not require a compiler intrinsic - makes it easier to port to other/unknown compilers going forward as long as they are C++11.
2015-06-04 18:59:21 +01:00
jzmaddock
f0da159e1f Initial commit of new version of type_traits which has zero dependencies (other than Boost.Config), plus reduced template instantiations, and cleaner easier to read code. 2015-01-14 18:34:11 +00:00
John Maddock
5976893b1a Merge accumulated type_traits patches from Trunk.
Refs #5777.

[SVN r74005]
2011-08-22 17:22:32 +00:00
John Maddock
0977ea3b67 Merges changes from Trunk: refer to history.qbk for the details.
[SVN r65708]
2010-10-01 11:11:16 +00:00
John Maddock
533693d031 Added missing license info.
[SVN r34586]
2006-07-17 11:08:01 +00:00
Vladimir Prus
ed97beb51f More V2 Jamfile tweaks.
[SVN r23764]
2004-07-19 07:12:45 +00:00
Vladimir Prus
f737ceb667 Add V2 Jamfile
[SVN r20271]
2003-10-07 08:10:42 +00:00