189 Commits

Author SHA1 Message Date
joaquintides
09d6416755 made boost::unordered_[multi](map|set)::[const_][local_]iterator instantiable with incomplete value_type (#321)
* made boost::unordered_[multi](map|set)::[const_][local_]iterator instantiable with incomplete value_type
* qualified name to avoid self-definition
2025-10-12 13:14:16 +02:00
joaquintides
164cbe4e0f documented non-const reference passing to erase_if (#312)
* documented non-const reference passing to erase_if

* prevented warning as error in Boost.Container build

* skipped tests for MinGW (https://github.com/boostorg/atomic/pull/70)

* correct reference link for previous commit is https://github.com/boostorg/atomic/issues/73

* commented previous disabled cases

* disabled cfoa_serialization_tests with TSAN

* fixed previous

* fixed previous

* fixed previous
2025-05-31 18:08:37 +02:00
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
Braden Ganetsky
cfdfae0a65 Ensure each container type can be explicitly instantiated 2024-10-06 22:38:00 -05: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
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
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
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
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
8630a588bd Sync from upstream. 2024-05-10 20:47:21 -05:00
joaquintides
6215406c02 added tests for stats feature 2024-05-01 18:15:14 +02:00
Rene Rivera
a1f9097f2b Sync from upstream. 2024-04-10 07:57:16 -05:00
Braden Ganetsky
82ba55e4a4 Write test pmr_emplace_erase to check basic functionality with pmr allocators 2024-03-24 12:22:44 -05:00
Rene Rivera
89515ee604 Make the library modular usable. 2024-03-11 08:38:17 -05:00
joaquintides
15cfef6967 Fixed support for allocators with explicit copy constructors (#234)
* added tests for explicit allocators

* made explicit_alloc_ctor_tests work
by adhering to the principle that classes templated with Allocator should accept exactly Allocator objects

* removed TMP machinery older compilers choke about

* initialized variables

* updated release notes

* fixed PR number
2024-02-17 18:58:48 +01:00
Braden Ganetsky
67c5cdb3a6 Optimize emplace() for exactly a value_type or init_type argument (#227)
* Add structs to count special member functions

* Add failing emplace tests, that will pass after making the optimization

* Optimize emplace() to not allocate when we already have a value_type or init_type

* Fix newly failing cfoa tests
2023-12-31 18:56:14 +01:00
joaquintides
ef0b3a0cd8 fixed #201 2023-10-04 17:38:33 +02:00
Christian Mazakas
630031706b Remove project test requirements and remove problematic CI entries 2023-09-28 09:51:47 -07:00
Christian Mazakas
b482890453 Update testing requirements to re-enable gcc-4.8 and above 2023-09-28 08:27:12 -07:00
Christian Mazakas
d742ee3a3b Remove unnecessary BOOST_UNORDERED_USE_MOVE tests 2023-09-27 11:44:44 -07:00
Christian Mazakas
08187c7a1f Swap _include_tests suffix for _hpp 2023-09-19 12:27:19 -07:00
Christian Mazakas
6953014874 Update self-include tests to use a significantly shorter mangling scheme for msvc targets 2023-09-19 11:42:23 -07:00
Christian Mazakas
7b24cf6607 Cleanup self-include tests to compile solely as object files 2023-09-19 08:51:12 -07:00
Christian Mazakas
c0cd51bd2a Update test jamfile to glob for project headers and create self-include tests 2023-09-18 13:25:21 -07:00
joaquintides
cad3509a17 added boost::concurrent_flat_set to mmap_tests 2023-09-16 11:18:39 +02:00
Christian Mazakas
33ee8ea302 Disable mmap_tests for cygwin targets
Interprocess tries to erroneously call ftruncate without the corresponding header being included.
2023-09-15 08:22:31 -07:00
Christian Mazakas
f4f322b94d Update requirements for TypeIndex 2023-08-30 09:57:22 -07:00
Christian Mazakas
a0679e5ffe Add mmap_tests 2023-08-30 09:56:28 -07:00
Christian Mazakas
b01f9ee15d Refactor Jamfile, add C++11 as compiler minimum 2023-08-30 09:56:28 -07:00
joaquintides
a2ad7966ea removed serialization tests from UBSAN runs 2023-08-17 10:21:54 +02:00
joaquintides
9d897faece added cfoa_serialization_tests 2023-08-17 10:21:54 +02:00
joaquintides
0365be763a dealt with serialization_tests's big executable size 2023-08-17 10:21:54 +02:00
joaquintides
aec9c48cf4 restored passing of working directory 2023-08-17 10:21:54 +02:00
joaquintides
651727508b removed unneeded working directory passing 2023-08-17 10:21:54 +02:00
joaquintides
b3b4853dfa added legacy serialization tests 2023-08-17 10:21:54 +02:00
joaquintides
4e458f0054 added foa_exception_tests 2023-08-17 10:21:54 +02:00
joaquintides
8fe3ebc7b3 simplified serialization building 2023-08-17 10:21:54 +02:00
joaquintides
d83efc5ea4 added first tests of serialization support 2023-08-17 10:21:54 +02:00