412 Commits

Author SHA1 Message Date
Peter Dimov
ed452c57a3 Add sv_hash_test to test/CMakeLists.txt 2024-11-11 02:31:11 +02:00
Peter Dimov
78885aab8e Disable serialization tests under MinGW 32 bit 2024-11-10 22:35:54 +02:00
Peter Dimov
32e6c30f4b Add test/sv_hash_test.cpp 2024-11-10 19:32:31 +02:00
Peter Dimov
cebfe007e8 Update test/Jamfile 2024-11-10 16:21:59 +02:00
Peter Dimov
5e451b6c84 Add VERBATIM to add_custom_target 2024-08-21 04:14:05 +03:00
Peter Dimov
88a957b21c test/Jamfile: add cxx11_ref_qualifiers (GCC 4.8+) to Serialization tests because of Optional 2024-08-21 03:02:31 +03:00
Rene Rivera
602961e526 Update build deps. 2024-08-01 21:30:37 -05:00
Rene Rivera
040b018ce0 Restore warnings-as-errors-off that got accidentally removed in a merge. 2024-07-24 23:55:54 -05:00
Rene Rivera
44c32d7691 Change all <source> references to <library>. 2024-07-20 19:37:53 -05:00
Rene Rivera
0ee7dc5910 Sync from upstream. 2024-07-18 09:29:32 -05:00
Glen Fernandes
76061d91d4 Move compile test to separate source file 2024-07-14 07:04:23 -04:00
Rene Rivera
983234baee Sync from upstream. 2024-07-12 08:54:55 -05:00
Braden Ganetsky
acbeaae181 Add link to Visual Studio bug report 2024-07-11 17:02:24 -05:00
Braden Ganetsky
d01b4e94cc Write test for empty_value private inheritance 2024-07-11 17:02:23 -05:00
Braden Ganetsky
c056f3dfc9 Write failing test in MSVC for deriving from empty_value 2024-06-23 22:50:52 -05:00
Rene Rivera
98a055cf34 Add missing lib reference. 2024-04-25 22:20:12 -05:00
Rene Rivera
074a467d9d Sync from upstream. 2024-04-24 20:30:49 -05:00
Peter Dimov
965508d9e1 Fix type_name for abstract classes. Fixes #172. 2024-04-24 21:46:32 +03:00
Rene Rivera
0a238bb30d Sync from upstream. 2024-04-20 15:33:40 -05:00
Peter Dimov
f774295cdb Add boost/core/detail/minstd_rand.hpp 2024-04-14 04:40:44 +03:00
Rene Rivera
b18495fe35 Sync from upstream. 2024-04-12 22:40:43 -05:00
Peter Dimov
aa01ad8bf0 Avoid another -Wconversion in sv_find_{first,last}_not_of_test 2024-04-11 05:57:32 +03:00
Peter Dimov
442e36f652 Avoid -Wconversion in sv_find_{first,last}_not_of_test 2024-04-11 04:33:29 +03:00
Peter Dimov
03040c7f5c Avoid -Wsign-conversion warnings in string_view.hpp. Fixes #170. 2024-04-11 04:09:29 +03:00
Peter Dimov
fd01cf788c Add -Wsign-conversion to pedantic-errors 2024-04-10 21:51:56 +03:00
Rene Rivera
151d0c4143 Sync from upstream. 2024-04-10 07:57:45 -05:00
Glen Fernandes
31117ef800 Implement pointer_in_range 2024-04-08 09:56:16 -04:00
Rene Rivera
541745ea24 Sync from upstream. 2024-03-23 07:57:20 -05:00
Braden Ganetsky
a973490f53 Fix deprecated warning ignores in allocator_access.hpp, and add compile test for pmr allocator 2024-03-17 20:12:06 -05:00
Rene Rivera
5f825106c7 Make the library modular usable. 2024-03-11 08:32:21 -05:00
Andrey Semashev
8cc2fdad76 Updated comments. 2024-02-08 18:39:47 +03:00
Andrey Semashev
0fb4d92d83 Moved checked deleters into internal namespace to block unintended ADL.
This prevents adding namespace boost to ADL when the deleters are used
in template parameters, e.g. in std::unique_ptr.
2024-02-07 15:12:36 +03:00
Peter Dimov
76401063a6 Remove constexpr test from sv_construct_test 2024-02-07 06:34:06 +02:00
Peter Dimov
c4bb59617c Disable sv_construct_test_cx2 for libstdc++ 7.2 and earlier 2024-02-07 04:55:07 +02:00
Peter Dimov
2d7e036416 Add sv_construct_test_cx, _cx2 2024-02-07 03:28:41 +02:00
Peter Dimov
4a0df827c1
Merge pull request #164 from anarthal/develop
Constructor from std::string_view is now constexpr
2024-02-07 03:03:42 +02:00
Ruben Perez
59c0fb69f0 Constructor from std::string_view is now constexpr
close #163
2024-02-06 23:15:26 +01:00
Peter Dimov
2f092c62fe Disable std::pmr use under AppleClang. Refs #162. 2024-02-06 19:12:11 +02:00
Andrey Semashev
0a35bb6a20 Move functor to its own namespace to block bringing boost::core to ADL. 2024-02-02 05:23:00 +03:00
Andrey Semashev
95f0b35c36 Move fclose_deleter and null_deleter to their own namespaces to block ADL.
This prevents bringing namespace boost into ADL when the deleters are used
in template parameters, e.g. in std::unique_ptr.
2024-02-02 05:17:19 +03:00
Andrey Semashev
80e12e1116 Added a new boost/core/functor.hpp header.
The feader defines a new functor class template that can be used to wrap
raw functions into a function object class. This is useful, for example,
for integrating std::unique_ptr and unique_resource with custom deleters
implemented as raw functions (e.g. in C libraries).
2024-01-26 20:51:02 +03:00
Peter Dimov
6f70ee87a3 Disable Serialization tests for C++03 2024-01-23 18:25:32 +02:00
Peter Dimov
ba6360e8ed Update test/Jamfile 2023-10-06 11:30:51 +03:00
Andrey Semashev
9fc2a2f1ac Renamed boost::swap to boost::core::invoke_swap, deprecated boost::swap.
The rename allows to avoid forming an infinite recursion in compile time
(because of noexcept specification that needs to resolve the unqualified call
to swap) or run time (in case if the boost::swap function is the only one
suitable for the passed arguments).

To avoid the compile-time recursion, removed noexcept specification from
boost::swap. The specification is still present in boost::core::invoke_swap.

Deprecated boost::swap and associated headers. boost::core::invoke_swap
is defined in a new boost/core/invoke_swap.hpp header.

Updated docs and tests. Removed tests that check inclusion of deprecated
headers.

Fixes https://github.com/boostorg/core/issues/148.
2023-07-12 12:17:07 +03:00
Peter Dimov
de8fe4fad7 Fix libc++16 failures 2023-06-02 19:32:28 +03:00
Peter Dimov
3b96d237c0 Update test/CMakeLists.txt 2023-06-02 04:32:42 +03:00
Peter Dimov
e088fb8929 Add yield_prim_pthread_cancel_test 2023-06-02 03:27:29 +03:00
Peter Dimov
992326b1c8 Decrease loop count of sp_thread_sleep_test 2023-06-02 02:04:46 +03:00
Peter Dimov
4e769d1cdd Add boost/core/yield_primitives.hpp 2023-06-01 23:08:32 +03:00
Peter Dimov
bf17035a2d Disable bit_cast_test_cx when __builtin_bit_cast is not available 2023-06-01 03:20:22 +03:00