1011 Commits

Author SHA1 Message Date
joaquintides
3dde65b2ef
added pull to open-addressing containers (#309)
* added pull to open-addressing containers

* added pull_tests.cpp

* guarded pull against exceptions in mid init_type construction
2025-04-14 21:47:30 +02:00
Peter Dimov
6c0b763176 Disable Interprocess tests when /RTC is in effect. 2025-01-17 18:40:03 +02:00
joaquintides
1389043933 upgraded to boost::process::v2 2024-12-28 12:29:33 +01: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
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
Braden Ganetsky
cfdfae0a65 Ensure each container type can be explicitly instantiated 2024-10-06 22:38:00 -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
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
Rene Rivera
cdb31c8309 Sync from upstream. 2024-09-09 15:23:31 -05: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
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
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
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
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
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
Rene Rivera
88535dca1f Sync from upstream. 2024-07-12 08:54:23 -05: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
4126a56528 Sync from upstream. 2024-06-10 21:40:32 -05:00
Braden Ganetsky
9995c9beb0 Fix 'invalid argument' to boost::interprocess::shared_memory_object 2024-06-06 23:05:43 -05:00
Rene Rivera
38acf9c619 Sync from upstream. 2024-06-02 13:50:31 -05:00
joaquintides
f77bdb9b67 updated is_avalanching trait protocol 2024-05-29 19:51:32 +02:00
Rene Rivera
8630a588bd Sync from upstream. 2024-05-10 20:47:21 -05:00
joaquintides
28fc689011 avoided shorten-64-to-32 and sign-conversion warnings 2024-05-05 18:30:42 +02:00
joaquintides
22d8cca03b added stats to bulk visitation 2024-05-05 17:56:03 +02:00
joaquintides
223f64752d implemented proper stats handling on concurrent<->unordered move construction 2024-05-03 18:04:21 +02:00
joaquintides
37451ecc94 relaxed checks for non-empty unsuccessful lookup stats 2024-05-03 13:07:09 +02:00
joaquintides
8452b30608 implemented proper stats handling on move assignment 2024-05-02 20:41:27 +02:00
joaquintides
d121c91c88 avoided shadowed declaration warning 2024-05-02 12:48:48 +02:00
joaquintides
6212f2642c avoided spurious check of deleted copy ctor 2024-05-02 11:15:29 +02:00
joaquintides
d5605671bd avoided shadowed local variable warnings 2024-05-02 10:22:14 +02:00
joaquintides
45c51840f7 avoided shadowed declaration warning 2024-05-02 09:52:58 +02:00
joaquintides
90ca4fb07e avoided float-equal warnings 2024-05-02 09:49:11 +02:00
joaquintides
83ab4b4b9f avoided unused-local-type warning 2024-05-01 21:32:49 +02:00
joaquintides
04006547a2 editorial 2024-05-01 20:57:02 +02:00