Peter Dimov
ed46bfacff
Merge pull request #203 from ashtum/develop
...
detail::span_convertible handles void types
2025-10-24 11:36:04 +03:00
Peter Dimov
67aaac82d8
Move boost/core/static_assert.hpp to boost/core/detail
2025-10-24 02:57:49 +03:00
Peter Dimov
87b410ddfa
Remove static_assert from dependencies
2025-10-21 15:45:50 +03:00
Peter Dimov
aaff2c0d54
Add tests for BOOST_CORE_STATIC_ASSERT
2025-10-21 02:32:00 +03:00
Andrey Semashev
3cd29323be
Add a test for boost::span verifying unqualified calls to data()/size().
...
The test checks that unqualified calls to data()/size() with boost::span
as argument don't cause ambiguity between std:: and boost:: implementations.
Fixes https://github.com/boostorg/core/issues/206 .
2025-10-19 21:56:04 +03:00
Andrey Semashev
45bd9bf69b
Use std::data and std::size for boost equivalents, when possible.
...
This avoids the potential ambiguity between boost:: and std:: functions
when the user calls data() or size() unqualified and both alternatives
are found via ADL.
Refs https://github.com/boostorg/core/issues/206 .
2025-10-19 21:56:04 +03:00
Mohammad Nejati
6afe70e09d
detail::span_convertible handles void types
...
fixes #202
2025-09-08 17:02:46 +00:00
Peter Dimov
16d8f5f8ff
Add sv_format_test.cpp. Refs #190 .
2025-06-25 16:51:59 +03:00
Peter Dimov
7cb3e689e0
Update bit_ceil_test.cpp
2025-06-06 19:03:11 +03:00
Abhay Kumar
f32cb2f696
🐛 Fix bit_ceil() to return 1 for input 0 as per specification
2025-06-06 14:23:26 +05:30
Dirk Stolle
db59ef2a81
Fix a few typos
2025-04-16 02:16:49 +02:00
Glen Fernandes
24a8174ef1
Add asserts to span
2025-01-18 00:52:31 -05:00
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