Commit Graph

756 Commits

Author SHA1 Message Date
Ion Gaztañaga
61d7f651e1 Add equal transparent 2018-09-26 01:07:01 +02:00
Ion Gaztañaga
b51a9e7a25 Fix wrong s_allocated_memory estimation and use more conservative to avoid code that seems to break some older compilers 2018-09-26 01:06:33 +02:00
Ion Gaztañaga
fe85038ebe Simplify redundant tested variants in functional tests.
Move explicit instantiations from functional tests to "explicit_inst_xxx".
2018-09-25 09:08:24 +02:00
Ion Gaztañaga
59f70078f0 Refactor big test into smaller tests 2018-09-25 09:07:09 +02:00
Ion Gaztañaga
f3e2c9cc73 Add simple iteration option for regression runnersa dn save CPU 2018-09-25 09:06:33 +02:00
luz.paz
a6ac16d0c4 container: misc-typos
Found via `codespell -q 3 -L iff,nd`
2018-09-23 15:54:39 -04:00
Ion Gaztañaga
72c7ef7801 Fix assertion produced by previous string changes to avoid UB. 2018-09-18 14:23:31 +02:00
Ion Gaztañaga
ffbf76df00 Add more constructor overloads to support future unordered containers. 2018-09-15 01:23:23 +02:00
Ion Gaztañaga
25a109f8d2 Export boost::move_detail::nat2 and boost::move_detail::nat3 to container detail namespace 2018-09-15 01:22:18 +02:00
Ion Gaztañaga
60aea31db7 Make value_to_node_compare return type configurable 2018-09-15 01:21:47 +02:00
Ion Gaztañaga
43c0d7a731 Fix some type punning warnings, avoiding forming a reference to non-constructed objects 2018-09-15 01:20:43 +02:00
Ion Gaztañaga
5ab5c7de63 Add noexcept_if to tree::swap 2018-09-15 01:18:27 +02:00
Ion Gaztañaga
7cba84ca97 Make non-const overload of internal_storage and make them BOOST_CONTAINER_FORCEINLINE 2018-09-15 01:16:28 +02:00
Ion Gaztañaga
6504af8708 Disable false positives on "-Wstringop-overflow" and "-Warray-bounds" in release mode 2018-09-15 01:15:25 +02:00
Ion Gaztañaga
c4a8cac5a1 Fix unused variable warnings 2018-09-15 01:12:17 +02:00
Ion Gaztañaga
9f12901ff7 Tweak test to avoid false positives in built-in memcpy bounds checking warnings. 2018-09-15 01:11:40 +02:00
Ion Gaztañaga
cce2ef763a Improve short/long representation to avoid aliasing problems and disable "-Wmaybe-uninitialized" for compilers that have false positives. 2018-09-15 01:10:50 +02:00
Ion Gaztañaga
f28fe5d33e Fix some type punning warnings, avoiding forming a reference to non-constructed objects 2018-09-15 00:52:18 +02:00
Ion Gaztañaga
73ad892393 Make set::equal_range BOOST_CONTAINER_FORCEINLINE 2018-09-15 00:51:13 +02:00
Ion Gaztañaga
fb0854bd08 Fix unused variable warning. 2018-09-15 00:50:51 +02:00
Ion Gaztañaga
d4ff624264 Fixes GitHub #82: "Function definition in header file". 2018-08-29 22:19:29 +02:00
Ion Gaztañaga
84f6f27788 Fix stack-use-after-scope error detected by ASAN in "test_upstream_resource". 2018-08-20 12:30:55 +02:00
Ion Gaztañaga
139db663a3 * Implemented C++20 contains() for associative containers as specified in P0458R2.
* Fixed serious bug in heterogeneous lookup functions (is_transparent was broken).
2018-08-13 15:36:00 +02:00
Ion Gaztañaga
1ad64316a4 Update changelog with GitHub #76 2018-06-27 23:31:50 +02:00
Ion Gaztañaga
b56cbb60e0 Add assertions to invalid operations. 2018-06-27 16:50:58 +02:00
Ion Gaztañaga
1be5cec042 Add general Jamfile 2018-06-26 21:50:16 +02:00
Ion Gaztañaga
e9d10ce544 Fixes GitHub #75 ("flat_set: Heap overflow") 2018-06-26 21:50:05 +02:00
Ion Gaztañaga
920e009d71 Implemented proposed resolution for LWG 3120 2018-06-18 00:29:22 +02:00
Ion Gaztañaga
62a8b6666e Disable -Wclass-memaccess for GCC 8 2018-06-16 16:35:35 +02:00
Ion Gaztañaga
4faa05e36c More traits to support additional triviality for pair. 2018-06-16 14:45:20 +02:00
Ion Gaztañaga
62ee740368 Fixed GitHub #74 ("vector assignment not using memcpy") 2018-06-16 11:51:31 +02:00
Ion Gaztañaga
9a22431578 * Clean up constructor template auto deduction guides to use Boost.Container traits
* GitHub #73: '"triviality of pair".

* Fixed race condition bug in unsynchronized_pool_resource
2018-06-14 13:17:55 +02:00
Ion Gaztañaga
69d42ef636 Merge branch 'rmpowell77-ctad_testing' into develop 2018-05-14 11:53:32 +02:00
Ion Gaztañaga
88f4a245ca Merge branch 'ctad_testing' of https://github.com/rmpowell77/container into rmpowell77-ctad_testing 2018-05-14 11:52:41 +02:00
Ion Gaztañaga
ed50d14e9e Change forward_as_tuple to forward_as_tuple_impl as there are ambiguities when std headers are included. It's is used only in the pair test 2018-05-14 11:49:35 +02:00
Ion Gaztañaga
cfe9b200d0 Merge branch 'rmpowell77-fix_up_link' into develop 2018-05-14 11:44:39 +02:00
Ion Gaztañaga
b638f4851b Merge branch 'fix_up_link' of https://github.com/rmpowell77/container into rmpowell77-fix_up_link 2018-05-14 11:44:23 +02:00
Richard Powell
72195ae288 Adding Constructor Template Auto Deduction guides. 2018-05-11 11:35:25 -06:00
Richard Powell
633830f198 extra comma breaks link. 2018-05-10 11:44:02 -06:00
Ion Gaztañaga
48c21e3187 Implemented C++14's heterogeneous lookups. 2018-05-01 14:55:24 +02:00
Ion Gaztañaga
04b0791593 * Fixed adaptive pool bugs
* Improved adaptive pool testing enabling invariant checking in debug mode.
* New compile-time and runtime calculated parameters for adaptive_pool.
* New test comparing set with default allocator or adaptive pool
2018-04-29 12:42:04 +02:00
Ion Gaztañaga
42c6be5887 Fixes Trac #13533: "Boost vector resize causes assert(false)" 2018-04-29 12:37:35 +02:00
Ion Gaztañaga
b3eee90a81 Fix ticket #13500: Memory leak when using erase on string vectors 2018-04-04 00:31:39 +02:00
Ion Gaztañaga
318784291a Merge branch 'DanielaE-fix/std_allocator_void-is-deprecated' into develop 2018-02-09 18:27:18 +01:00
Daniela Engert
13a227a96e
std::allocator<void> is deprecated in C++17
silence the deprecation warning

Signed-off-by: Daniela Engert <dani@ngrt.de>
2018-02-02 15:59:39 +01:00
Ion Gaztañaga
485878d566 Avoid using exception specifiers in C++11 compilers when replacing operator new. 2018-02-01 21:51:14 +01:00
Ion Gaztañaga
f0736ba73a Use new "data" member char array in aligned_storage::type for placement new, to avoid breaking strict aliasing. 2018-01-30 14:20:52 +01:00
Ion Gaztañaga
9137957672 Fixes Issue #61: "compile problems on Android ndk r16 beta 1" 2018-01-27 23:27:54 +01:00
Ion Gaztañaga
011663b336 Fixed duplicated 1.67 release notes 2018-01-27 21:29:23 +01:00
Ion Gaztañaga
22f00f45d8 Fixed issue #65 pmr::monotonic_buffer_resource::allocate() can return a pointer to freed memory after release() is called. 2018-01-27 21:23:43 +01:00