2925 Commits

Author SHA1 Message Date
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
Rene Rivera
32ce058ebe Move inter-lib dependencies to a project variable and into the build targets. 2024-07-23 22:34:23 -05:00
Rene Rivera
4c6d0211fb Update copyright dates. 2024-07-20 22:52:04 -05:00
Rene Rivera
1edbe3fdbe Change all <source> references to <library>. 2024-07-20 21:27:30 -05:00
Rene Rivera
42579dee10 Add uuid test dependency. 2024-07-19 16:00:30 -05:00
Rene Rivera
0928b3d016 Add process test dependency. 2024-07-19 12:58:21 -05:00
Rene Rivera
5d7786b47e Add interprocess test dependency. 2024-07-19 08:11:35 -05:00
Rene Rivera
228fede498 Sync from upstream. 2024-07-18 09:28:57 -05:00
joaquintides
1d1f0d306d
Feature/nonconst set visit (#265)
* Made some boost::concurrent_flat_set operations exclusive-locked

* unnamed unused args

* fixed PR number

* replaced homemade mechanism with boost::compat::latch
2024-07-16 19:50:08 +02:00
Braden Ganetsky
7ddd562532
Implement natvis for fancy pointers (#262)
* Add file for manual natvis testing

* Equip natvis file to allow fancy pointers

* Update docs

* [skip ci] add links to natvis docs
2024-07-15 19:42:28 +02:00
Dmitry
3ad8ac4c34
fix asan and tsan jobs on Drone (#264) 2024-07-15 12:38:32 +02:00
joaquintides
ac1a2b4d23
fixed syntax error 2024-07-14 16:43:04 +02:00
joaquintides
e354fb432b
configured ASAN/TSAN jobs as privileged 2024-07-14 16:41:21 +02:00
Rene Rivera
88535dca1f Sync from upstream. 2024-07-12 08:54:23 -05:00
joaquintides
d61719a196 [skip ci] updated benchmark plots boost-1.86.0.beta1 boost-1.86.0 2024-06-26 09:13:54 +02:00
joaquintides
e3818afd45
test interprocess concurrency (#258)
* added cfoa_interprocess_concurrency_tests

* avoided C++14 digit separators

* stopped using exit codes to pass numerical info to parent

* Reorder includes to make msvc-14.0 happy

* made cumulative_stats interprocess concurrency safe

* disabled interprocess_concurrency_tests for Clang 3.5-8
(Boost.Process compile error)

* made test names shorter for the benefit of MINGW32

---------

Co-authored-by: Peter Dimov <pdimov@gmail.com>
2024-06-22 09:13:30 +02:00
Rene Rivera
3d9b24019d Bump B2 require to 5.2 2024-06-14 11:33:56 -05:00
Rene Rivera
0387791dc1 Sync from upstream. 2024-06-11 08:46:53 -05:00