1427 Commits

Author SHA1 Message Date
Ion Gaztañaga
9bba03450f Update changelog and test function for GitHub #81 ("Vector with custom allocator does not support value types with operator&") 2018-11-11 02:03:30 +01:00
Ion Gaztañaga
e94c779b56 Fix GitHub #77 ("warning: 'sbrk' is deprecated") 2018-11-11 01:38:27 +01:00
Ion Gaztañaga
2bc6f4d1a0 Fixes GitHub #84 ("Allow vector to be assigned to itself"). 2018-11-11 01:10:01 +01:00
Ion Gaztañaga
059133a345 Fix GitHub #79 ("Mark small_vector move operations noexcept") 2018-11-11 00:20:22 +01:00
Ion Gaztañaga
0c26acd423 Merge branch 'luzpaz-container-misc-typos' into develop 2018-11-10 23:34:40 +01:00
Ion Gaztañaga
3a2f61fdb0 Merge branch 'container-misc-typos' of https://github.com/luzpaz/container into luzpaz-container-misc-typos 2018-11-10 23:32:42 +01:00
Ion Gaztañaga
10a618afe8 Fix GitHub #83: ("Iterator zero incrementing leads to assert on empty vector") 2018-11-10 23:12:46 +01:00
Ion Gaztañaga
3afe49245f Updated changelog with deprectation and Pull #86 2018-11-10 10:46:56 +01:00
Ion Gaztañaga
01792cfe39 Merge branch 'TobiasLudwig-bugfix/warning-pragma-push' into develop,
Pull Request #86, "detected #pragma warning(push) with no corresponding
2018-11-10 10:26:52 +01:00
Tobias Loew
bf660ad569 Fixed flat_map CTAD 2018-11-08 18:15:05 +01:00
Tobias Ludwig
b7355bb2b4 add missing warning re-enabling include
fixes msvc warning C5032: "detected #pragma warning(push) with no corresponding #pragma warning(pop)"
2018-10-29 22:31:52 +01:00
Ion Gaztañaga
76b181f024 Make some sanitizers happier avoiding wraparound. boost-1.69.0-beta1 2018-09-29 09:58:52 +02:00
Ion Gaztañaga
0b39d57b6a Enable again push_back/push_front. 2018-09-29 09:58:24 +02:00
Ion Gaztañaga
c0a1c5cfc0 Fix invalid multiallocation_chain iterator increment after memory was overwritten. 2018-09-29 09:57:36 +02:00
Ion Gaztañaga
92e5ffb151 Add BOOST_LIKELY hints 2018-09-26 01:11:34 +02:00
Ion Gaztañaga
e787c4a24d Use uninitialized memory for node-based containers to improve aliasing conformance 2018-09-26 01:10:37 +02:00
Ion Gaztañaga
1e509c308e Add ASAN detection macro (BOOST_CONTAINER_ASAN) 2018-09-26 01:09:44 +02:00
Ion Gaztañaga
d242914572 Forward declare equal_to 2018-09-26 01:09:19 +02:00
Ion Gaztañaga
09e757ee1c Reenable some commented operations 2018-09-26 01:09:02 +02:00
Ion Gaztañaga
abccf168af Use more correct code in allocate_many 2018-09-26 01:08:24 +02:00
Ion Gaztañaga
57f9090670 Add hash_value 2018-09-26 01:07:21 +02:00
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 boost-1.68.0 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