2942 Commits

Author SHA1 Message Date
joaquintides
b41c054c66
Merge pull request #293 from boostorg/fix/upgrade_droneubuntu2404
updated cppalliance/droneubuntu2304 to 2404
boost-1.87.0.beta1 boost-1.87.0
2024-10-23 18:32:15 +02:00
joaquintides
fbc981eac9
Merge pull request #292 from k3DW/explicit-instantiation
Ensure each container type can be explicitly instantiated
2024-10-23 16:47:16 +02:00
joaquintides
5d2b27d1d9
updated cppalliance/droneubuntu2304 to 2404 2024-10-23 13:47:41 +02:00
Braden Ganetsky
a36937d9b5
Ensure fca containers have the embedded GDB pretty-printers if none of the [c]foa containers have also been included. (#291)
This was missed in PR #274. We don't yet have automated pretty-printer tests, so this change will have no effect on CI.
2024-10-09 09:54:47 +02:00
Braden Ganetsky
e214ecdbd0
Use std::ref instead of copying the function parameter… (#290)
* GHA: revise numerous CI jobs. Fix sanitizer on new kernel

* Use std::ref instead of copying the function parameter in std::initializer_list overloads of insert_{or|and}_[c]visit

* Reimplement detail::is_invocable

* Update docs for std::ref(f) changes

---------

Co-authored-by: sdarwin <samuel.d.darwin@gmail.com>
2024-10-08 17:35:58 +02:00
Sam Darwin
94ab2f0776
GHA: revise numerous CI jobs. Fix sanitizer on new kernel (#289) 2024-10-08 17:35:35 +02:00
joaquintides
1bdb3717d3 updated concurrent benchmarks 2024-10-08 17:28:52 +02:00
Braden Ganetsky
cfdfae0a65 Ensure each container type can be explicitly instantiated 2024-10-06 22:38:00 -05:00
Braden Ganetsky
489b50bc0f
Merge pull request #287 from k3DW/insert-return-type
Change the range insertion return type match the documentation
2024-09-27 22:24:08 -05:00
Braden Ganetsky
3fe7871745 Fix the return value from cfoa 'insert()' overloads to match the docs for iterator-pair and initializer-list 2024-09-26 17:45:33 -05:00
Braden Ganetsky
1e043993ac Update cfoa 'insert()' tests to check the return value of the iterator-pair and initializer-list overloads 2024-09-25 22:59:13 -05:00
joaquintides
834580b539
added insert_and_visit and similar operations to concurrent containers (#283) 2024-09-21 10:58:30 +02:00
Peter Dimov
57546ed7e3 Switch all Cygwin64 jobs to Debug, because Release times out 2024-09-11 16:52:49 +03:00
Peter Dimov
6067d9e515 Disable tests using Boost.Process under MinGW as well 2024-09-11 12:15:37 +03:00
Peter Dimov
ad4f00a825 Update test/Jamfile.v2 2024-09-11 02:16:05 +03:00
Peter Dimov
d1c166558a Update test/Jamfile.v2 2024-09-10 22:05:00 +03:00
Peter Dimov
d8a75accff Update build.jam 2024-09-10 22:03:05 +03:00
Rene Rivera
cdb31c8309 Sync from upstream. 2024-09-09 15:23:31 -05:00
Braden Ganetsky
f48ae7f7f4
Merge pull request #281 from k3DW/instantiate-classes
Put instantiate_[fca] classes into their respective test file
2024-09-08 12:45:08 -05:00
Rene Rivera
843d6df58c Sync from upstream. 2024-09-06 08:42:51 -05:00
joaquintides
95f36f334d
updated README.md 2024-09-06 10:00:28 +02:00
Braden Ganetsky
3f4d5fc567 Put instantiate_[fca] classes into their respective test file, instead of in the headers 2024-09-03 21:17:36 -05:00
Rene Rivera
9a2483dd2c Sync from upstream. 2024-09-03 20:09:40 -05:00
joaquintides
cd9a592f00
Fixed std::initializer_list assignment issues for open-addressing containers (#277)
* fixed #276

* used range insert, stylistic this->

* assigned non-empty std::initializer_lists
2024-09-02 18:56:13 +02:00
Rene Rivera
aa67315922 Sync from upstream. 2024-08-27 09:24:49 -05:00
Braden Ganetsky
21937249c4
Merge pull request #275 from k3DW/cygwin
Fix compiling on Cygwin for tests using Interprocess
2024-08-26 22:05:04 -05:00
Braden Ganetsky
5dd2068b62 Fix tests using Interprocess not compiling on Cygwin 2024-08-26 13:43:33 -05:00
Rene Rivera
85098f0506 Sync from upstream. 2024-08-26 07:13:46 -05:00
Braden Ganetsky
1b0037135c Add concurrent_node containers to the GDB pretty-printer script 2024-08-25 13:01:49 -05:00
joaquintides
f734e399e3
Feature/concurrent node containers (#271)
* added concurrent node containers

* removed spurious typename

* added missing includes

* avoided unused param warning

* worked around Clang bug

* s/{}/() to work around GCC4.8 problems with aggregate initialization

* used /bigobj for cfoa/visit_tests.cpp

* suppressed localized maybe-uninitialized warnings

* fixed comments

* added /bigobj to cfoa/insert_tests.cpp

* instrumented double exact comparison to spot a spurious error

* fixed pedantic error

* refactored byte_span machinery

* compromised on sub-epsilon equality for doubles that should be identical

* documented boost::concurrent_node_(map|set)

* added concurrent_node_set

* added missing AlternativeType

* tested empty node insertion

* tested node_handle allocator management

* added nonassignable_allocator and node_handle_allocator_swap_tests

* fixed warning disabling

* silenced spurious GCC warning

* broadened scope of previous pragma

* broadened even more

* worked around spurious constexpr-related msvc-14.0 bug
https://godbolt.org/z/v78545Ebf

* added workaround back

* replaced previous workaround with built-in one

* added workaround back on top of built-in solution (which doesn't work 100% of the time)
2024-08-25 18:34:58 +02:00
Rene Rivera
2afef71107 Sync from upstream. 2024-08-23 11:12:09 -05:00
Braden Ganetsky
35bdabf259 Fix typo in docs 2024-08-23 00:03:49 -05:00
Braden Ganetsky
1ebe692957
Merge pull request #274 from k3DW/gdb
Write GDB pretty-printers for all containers and iterators
2024-08-22 23:45:23 -05:00
Braden Ganetsky
111a503195 Generate inline assembly header file for automatic GDB pretty-printer script inclusion 2024-08-22 18:56:24 -05:00
Braden Ganetsky
5206ac46a3 Output the open-addressing containers' stats through a GDB xmethod 2024-08-17 14:37:06 -05:00
Braden Ganetsky
0bca47c690 Write docs for GDB pretty-printers 2024-08-17 14:37:05 -05:00
Braden Ganetsky
7f9aa8505f Fix containers of reference type 2024-08-17 14:37:05 -05:00
Braden Ganetsky
ae364ea311 Add fancy pointer support to GDB pretty-printers 2024-08-17 14:37:05 -05:00
Braden Ganetsky
f415d17e58 Write GDB pretty-printers for FOA containers, without fancy pointers 2024-08-17 14:37:05 -05:00
Braden Ganetsky
10fd6c8647 Write GDB pretty-printers for FCA containers, without fancy pointers 2024-08-17 14:37:05 -05:00
Braden Ganetsky
45e50f6cd2 Use references in test file, so we can check the debugger display without dereferencing the container 2024-08-17 14:37:05 -05:00
Braden Ganetsky
600dd0a8e2 Rename 'natvis_tests.cpp' to 'debuggability/visualization_tests.cpp', to be used with other kinds of visualizations 2024-08-17 14:37:05 -05:00
Rene Rivera
a6a0cd0a13 Sync from upstream. 2024-08-08 22:00:05 -05:00
Braden Ganetsky
a39cf60e93
Merge pull request #269 from k3DW/191
static_assert on the constructibility of the containers' types
2024-08-08 11:57:22 -05:00
Braden Ganetsky
a14b159665 Add missing calls to as_const(), otherwise we may call a 'T(T&)' constructor instead of the intended 'T(T const&)' 2024-08-07 16:15:36 -05:00
Braden Ganetsky
793fad5620 Run clang-format on the 'types' files 2024-08-07 16:09:15 -05:00
Braden Ganetsky
c117f4448f static_assert on the constructibility of the containers' types 2024-08-07 16:09:15 -05:00
Braden Ganetsky
65f3ea60dd
Use as_const to remove any possibility of use-after-move (#272) 2024-08-06 15:48:13 +02:00
Rene Rivera
7645e4f20d Sync from upstream. 2024-07-25 17:18:43 -05:00
Braden Ganetsky
cd4c1f3713
Fix Boost.Config includes in natvis_tests.cpp (#268) 2024-07-24 09:05:21 +02:00