Commit Graph

1233 Commits

Author SHA1 Message Date
Ion Gaztañaga
7495c1526a Remove old test/bench files 2025-09-20 09:49:21 +02:00
Ion Gaztañaga
8834ab0880 Use selective BOOST_CONTAINER_FORCEINLINE on simple forwarding functions 2025-09-20 00:37:56 +02:00
Ion Gaztañaga
e7d5add69e Merge pull request #319 from m4xG4/static_vector_clear_doc
fixed complexity documentation for static_vector clear
2025-09-18 22:26:38 +02:00
m4xG4
900b58a26a added missing dots 2025-09-18 19:55:54 +02:00
m4xG4
3ad96419a5 fixed complexity documentation for static_vector clear 2025-09-18 19:46:22 +02:00
Ion Gaztañaga
6be91b8331 Update changelog with #248 2025-09-07 20:44:01 +02:00
Ion Gaztañaga
814efb53d5 Remove redundant "value" in is_trivially_copy_assignable for std::pair 2025-09-07 20:42:21 +02:00
Ion Gaztañaga
9552828c54 Apply optimization traits also to std::pair 2025-09-07 19:23:40 +02:00
Ion Gaztañaga
7dbf9a1b07 Reinterpret_cast to void to silence potential warnings 2025-09-07 19:23:01 +02:00
Ion Gaztañaga
38c55cac0f Add 100% growth factor vector 2025-09-07 19:17:25 +02:00
Ion Gaztañaga
77fb53dbf9 Add new_deque and its test 2025-09-07 19:16:34 +02:00
Ion Gaztañaga
c9a4b78d4a Update changelog with 317 2025-09-07 19:15:44 +02:00
Ion Gaztañaga
0e845ae845 Update gitignore with experimental new_deque 2025-09-07 19:15:12 +02:00
Ion Gaztañaga
1f043d03b8 Merge pull request #317 from nigels-com/revert-issue-209
Partial revert of changes for Issue #209 - compiler warnings
2025-09-06 23:54:43 +02:00
Ion Gaztañaga
68fa752311 Merge branch 'develop' into revert-issue-209 2025-09-06 23:54:24 +02:00
Ion Gaztañaga
08ded32473 Increase range size to 8 and template the integer type to contemplate both trivial and non-trivial types. 2025-09-06 12:46:25 +02:00
Ion Gaztañaga
c982fe5989 Add some new erase tests 2025-09-06 12:45:49 +02:00
Ion Gaztañaga
42d7f18d4e Forceinline some very trivial functions. 2025-09-06 12:45:26 +02:00
Ion Gaztañaga
29c24520e6 Merge pull request #313 from nigels-com/cmake-test
cmake support for building and running tests
2025-09-06 12:42:35 +02:00
Ion Gaztañaga
bcacd264ee Merge pull request #315 from nigels-com/readme-travis-status
README: Remove stale links to Travis build status
2025-09-06 12:41:14 +02:00
Ion Gaztañaga
ada5ee3076 Merge branch 'develop' of github.com:boostorg/container into develop 2025-09-06 12:40:34 +02:00
Ion Gaztañaga
9ad078f9b3 Add new algos and simplify template parameters 2025-09-06 12:40:29 +02:00
Ion Gaztañaga
f0708dedc9 Merge pull request #314 from nigels-com/resolve-clang-19-warnings
Resolve clang-19 warnings for Issue #300 - pointer to non-trivially copyable type
2025-09-06 12:26:24 +02:00
Ion Gaztañaga
d618e482a8 Merge pull request #316 from nigels-com/ifdef__cpp_sized_deallocation
__cpp_sized_deallocation is not always defined (clang is opt-in) for Issue #306
2025-09-06 12:20:07 +02:00
Ion Gaztañaga
3e07b0d4db Merge pull request #318 from nigels-com/whitespace-fixup
Minor whitespace tidy-up
2025-09-06 12:18:16 +02:00
Nigel Stewart
bdce6c01fc Minor whitespace tidy-up 2025-09-05 16:30:25 +10:00
Nigel Stewart
a165f4919e Partial revert of changes for Issue #209 - compiler warnings
Issue #248 concerns reduced performance due to commit 0d5068a0cc
2025-09-05 16:25:39 +10:00
Nigel Stewart
f0b0dacf27 __cpp_sized_deallocation is not always defined (clang is opt-in) for Issue #306 2025-09-05 15:59:48 +10:00
Nigel Stewart
6cd7f16236 README: Remove stale links to Travis build status 2025-09-05 12:17:58 +10:00
Nigel Stewart
f6fdd0945c Resolve clang-19 warnings for Issue #300 - pointer to non-trivially copyable type 2025-09-05 12:06:11 +10:00
Nigel Stewart
8a47e6e339 cmake support for building and running tests 2025-09-05 11:33:54 +10:00
Ion Gaztañaga
7972bb2c97 Fixes #305: ("Warnings with -Wstrict-prototypes"). 2025-08-26 00:35:29 +02:00
Ion Gaztañaga
db5b2f8a3f Add #294 to release notes 2025-08-26 00:10:19 +02:00
Ion Gaztañaga
98834ad36e Merge pull request #294 from zjyhjqs/feat/header-only-option
CMake: Add option to use header-only `Boost::container`
2025-08-26 00:09:14 +02:00
Ion Gaztañaga
a89742f659 Merge pull request #311 from Flamefire/test-link-update
Update Link to regression test matrix in README
2025-08-25 23:15:16 +02:00
Ion Gaztañaga
862ae36735 Fixes #310 ("flat_map: Mention correct type in documentation of emplace and emplace_hint" 2025-08-25 23:13:16 +02:00
Alexander Grund
83b4420a28 Update Link to regression test matrix in README 2025-08-25 17:26:10 +02:00
zjyhjqs
341cda2406 Add option to use header-only Boost::container 2025-08-25 23:22:57 +08:00
Ion Gaztañaga
96653536f1 Fixes #309 ("Performance regression of boost::container::static_vector introduced in boost v1.86") 2025-08-14 20:14:32 +02:00
Ion Gaztañaga
52ad24fe0a Add GitHub #307 to release notes 2025-08-12 19:15:15 +02:00
Ion Gaztañaga
b6a2a6ba6a Merge pull request #307 from TheJCAB/fix-MSVC-C4146-warnings
Fix all instances of MSVC warning C4146 (unsigned negation)
2025-08-12 19:12:50 +02:00
Ion Gaztañaga
456e20e415 Ignore new experimental new_deque implementation 2025-08-12 17:59:44 +02:00
Ion Gaztañaga
74c06d3a5d Protect iwth BOOST_CXX_VERSION >= 201103L as Boost.Iterator does not support C++03 2025-08-12 17:59:29 +02:00
Juan Carlos Arevalo Baeza (JCAB)
18f29c6eda Fix all instances of MSVC warning C4146 (unsigned negation)
Unsigned negation is a well-defined operation in C and C++ and it is commonly used when doing bit manipulation of unsigned integers, because it builds a high-pass bitmask.

For instance, if `X` is known to be a power of two, `-X` is precisely the mask needed to align a value down to a multiple of `X` by means of a bit-wise `&` operation.

However, it can occasionally be flagging a bug, when the original intent was mathematical negation. For this reason, an explicit fix is preferred to suppressing this warning.

This change fixes all the instances of unsigned negation of the form `-X` to `0 - X`.

It also includes a drive-by spot-fix for the macro `left_bits(x)` whose parameter was missing the usual parenthesis. This was benign in all the uses of the macro.
2025-07-30 15:35:34 -07:00
Ion Gaztañaga
e680bd79a2 Fix class invariant comment. In this implementation default constructed deque make no allocation so in that case start and finish are singular iterators. 2025-07-30 23:57:26 +02:00
Ion Gaztañaga
ba82a1da7d Use windows 2025 runner 2025-07-07 23:41:45 +02:00
Ion Gaztañaga
8ca003cabb Remove Windows 2019 as it's not longer supported in github 2025-07-07 11:53:23 +02:00
Ion Gaztañaga
e8baf848bc Fixes #250 ("Custom container leads to "invalid use of incomplete type" for "struct boost::container::dtl::container_rebind"") boost-1.89.0 2025-05-21 12:05:35 +02:00
Ion Gaztañaga
aa4b215681 Add clang-19 toolset 2025-05-20 09:18:01 +02:00
Ion Gaztañaga
b13c1fe8a4 Avoid C++03 testing in clang/libc++ 2024-12-23 22:41:29 +01:00