Ion Gaztañaga
8d17978748
Document block_size option in deque_options
2024-05-21 14:16:18 +02:00
Ion Gaztañaga
292bab35c6
Revert accidental commit
2024-05-21 14:11:30 +02:00
Ion Gaztañaga
59d760c08b
Document block_size option in deque_options.
2024-05-21 14:08:36 +02:00
Alexander Neumann
750033d8cf
Remove dep on boost::static_assert
2024-05-18 08:27:55 +02:00
Rene Rivera
1d65663bcb
Add requires-b2 check to top-level build file.
2024-05-05 09:00:01 -05:00
Rene Rivera
27b633c630
Sync from upstream.
2024-04-28 20:30:48 -05:00
Rene Rivera
894c5c14cb
Add missing NO_LIB usage requirements.
2024-04-28 20:14:34 -05:00
Ion Gaztañaga
20ad12f20e
Remove UB in flat_map implementation when the implementation has a movable std::pair
2024-04-28 23:29:59 +02:00
Rene Rivera
31752171c6
Add missing b2 testing module import.
2024-04-25 08:27:47 -05:00
Rene Rivera
9fea4700ca
Sync from upstream.
2024-04-20 15:33:32 -05:00
Ion Gaztañaga
429024ca4e
Add experimental (macro protected) support for lighter iterators
2024-04-16 11:36:04 +02:00
Ion Gaztañaga
03abe8c02c
Return start() pointer by value to limit aliasing
2024-04-15 12:53:41 +02:00
Ion Gaztañaga
978bbb113a
Clean force_ptr usage and use launder_cast
2024-04-15 12:51:15 +02:00
Ion Gaztañaga
56cc38f761
Update test_iterator_random test for vector-like containers
2024-04-15 11:57:44 +02:00
Rene Rivera
efdf26e325
Update dependencies.
2024-04-08 20:12:13 -05:00
Rene Rivera
25d0349ad9
Switch to library requirements instead of source. As source puts extra source in install targets.
2024-03-29 21:15:58 -05:00
Ion Gaztañaga
c9e544df83
Fix typos and bad link
2024-03-29 22:05:04 +01:00
Rene Rivera
51bee1abbf
Sync from upstream.
2024-03-17 20:26:04 -05:00
Ion Gaztañaga
6291e6c1bd
Update quickbook version to 1.7 and fix detected errors in qbk
2024-03-18 00:01:22 +01:00
Rene Rivera
1c17646cd0
Make the library modular usable.
2024-03-11 08:31:01 -05:00
Ion Gaztañaga
6e697d7968
Rewrite default_init_test() to make harder for the compiler to optimize because we rely on UB to test memory was not initialized.
boost-1.85.0.beta1
boost-1.85.0
2024-01-04 00:59:38 +01:00
Ion Gaztañaga
3c8c087eb7
Change internal_storage() implementation to avoid UBSan errors when N is zero.
2024-01-03 02:34:58 +01:00
Ion Gaztañaga
fb822f0435
Update 1.85 changelog
2024-01-03 02:33:19 +01:00
Ion Gaztañaga
514e88b376
Remove unneeded header
2024-01-03 02:32:41 +01:00
Ion Gaztañaga
7c74232a40
Remove Boost.StaticAsser dependency
2024-01-02 19:46:05 +01:00
Ion Gaztañaga
716ec48861
Add new toolsets and fix clang+libstdc++ incompatibility in Ubuntu 22.04
2024-01-02 17:16:42 +01:00
Ion Gaztañaga
b14e7cedb0
libc++ up to version 14 does not support span deduction guides
2023-05-16 12:13:15 +02:00
Ion Gaztañaga
b8b089730a
Disable test for clang with libstdc++ as clang triggers an error parsing STL headers with concepts (stl_iterator.h: error: requires clause differs in template redeclaration")
2023-05-11 21:14:19 +02:00
Ion Gaztañaga
e99536c535
Remove unused variable
2023-05-11 21:13:32 +02:00
Ion Gaztañaga
eda6b8dd83
Correct testcase that was failing in GCC-12
2023-05-10 22:16:00 +02:00
Ion Gaztañaga
fa14c4763f
Reduce additional BOOST_CONTAINER_FORCEINLINE uses
2023-05-10 22:15:00 +02:00
Ion Gaztañaga
4fcd7aea61
Workarounds to GCC-12 false positive warning
2023-05-10 22:14:25 +02:00
Ion Gaztañaga
1a4a205ea6
Don't use BOOST_CONTAINER_FORCEINLINE extensively, due to potential code bloat
2023-05-10 22:09:01 +02:00
Ion Gaztañaga
9c852071f9
Update github regression tests with more platforms and performance improvements
2023-05-10 22:04:23 +02:00
Ion Gaztañaga
546ee5c06e
Fixes #243 ("rebind makes build fail in boost::small_vector with libstdc++-13 and later ")
2023-04-20 23:35:48 +02:00
Ion Gaztañaga
52013a99ef
Fixes #225 ("variable set but not used in dlmalloc_ext_2_8_6.c")
2023-04-18 23:12:33 +02:00
Ion Gaztañaga
3ba7237b32
Update changelog with #242
2023-04-18 22:51:00 +02:00
Ion Gaztañaga
8ae15965ea
Fixes #242 ("Issue with string::rfind")
2023-04-18 22:50:30 +02:00
Ion Gaztañaga
51f6cf69fc
Disable forceinline for clang compilers, see https://lists.boost.org/boost-users/2023/04/91445.php and https://github.com/llvm/llvm-project/issues/62202
2023-04-18 22:08:26 +02:00
Ion Gaztañaga
22357b34b7
Update changelog with #233
boost-1.82.0
boost-1.84.0.beta1
boost-1.84.0
boost-1.83.0.beta1
boost-1.83.0
2023-03-13 13:31:16 +01:00
Ion Gaztañaga
5cc9617487
Fixes #233 ("Can't std::move small_vector with move-only type")
2023-03-13 10:06:53 +01:00
Ion Gaztañaga
db96d2ad47
Fixes #240 ("_GLIBCXX_DEBUG detects issues in flat_set/map")
2023-02-23 22:16:10 +01:00
Ion Gaztañaga
5cea4e8718
Fixes #236 ("flat_tree::erase_unique uses wrong iterator")
boost-1.82.0.beta1
2023-02-13 10:04:07 +01:00
Ion Gaztañaga
8ec0bda4ba
Fixes #237 ("there is no warning number /4675/4284/4345")
2023-02-13 09:05:39 +01:00
Ion Gaztañaga
3ef88e47b5
Update changelog with issue #238 ("Containers should not be using memset to value-initialize POD types")
2023-02-13 08:57:31 +01:00
Ion Gaztañaga
81fd394578
Merge pull request #239 from dangelog/issue238
...
Do not memset(0) POD types
2023-02-13 08:54:03 +01:00
Ion Gaztañaga
58904e3f25
Add CMakeLists.txt to the project
2023-02-12 23:56:16 +01:00
Giuseppe D'Angelo
b694ada294
Do not memset(0) POD types
...
"POD" is the wrong type trait to determine if something can be safely
zero-filled in order to achieve zero initialization. Consider a type
like
struct POD { int POD::*ptr; };
This is a POD; its value initialization needs to value initialize the
member, and since it's a pointer, that's zero initialization, and that's
setting the pointer to null.
On Itanium, a null pointer to data member is not zero filled; it actually
has the value -1u.
Hence, zero-filling via memset(0) a POD object like the one above is
erroneous. Unfortunately there is no type trait in C++ that we can use to
know if a given datatype can be value initialized by zero-filling -- we
can check for trivial constructability, but that's a necessary
condition, not a sufficient one (POD above is also trivially
constructible).
The test is disabled on MSVC because of a compiler bug.
Fixes #238
2023-02-02 11:29:53 +01:00
Ion Gaztañaga
acc5b088f5
Update CMakeLists.txt with new dependencies
2023-02-01 23:02:40 +01:00
Ion Gaztañaga
552688c7fc
Simplify dependencies dropping Boost.Core
2023-02-01 23:00:23 +01:00