Commit Graph

824 Commits

Author SHA1 Message Date
Ion Gaztañaga 10495be689 Merge pull request #157 from camolezi/patch-1
Add missing include
2020-08-31 13:12:10 +02:00
Lucas Camolezi 2f9f3831ef Add missing include
Allow this header file to be built standalone, in a clang C++ modules context.
2020-08-25 15:15:59 -03:00
Ion Gaztañaga 5a52472cd0 Make a different version for single value proxies in priv_insert_forward_range_expand_forward and force-inline only that version 2020-08-11 23:50:47 +02:00
Ion Gaztañaga 5d100cb45f Add BOOST_CONTAINER_FORCEINLINE to trivial functions 2020-08-11 23:50:08 +02:00
Ion Gaztañaga c2a4ed70d9 Avoid unsigned underflow, legal but flagged as suspicious by several tools. 2020-08-11 23:49:48 +02:00
Ion Gaztañaga 2e78cb524c Unroll operation loop to avoid measuring loop overhead and other modifications to exercise more paths of the insertion functions. 2020-08-11 23:49:13 +02:00
Ion Gaztañaga efd08d9a0e Improve timing and add warm-up step 2020-08-10 11:19:01 +02:00
Ion Gaztañaga fb88180001 - Change priv_insert_forward_range_expand_forward position to raw pointer to be more homogeneous with the rest of similar functions.
- Remove some unused variable warnings due to BOOST_IF_CONSTEXPR additions.
2020-08-10 11:18:36 +02:00
Ion Gaztañaga ebcd0222b4 Integrate and adapt "devector's", from Thaler Benedek's implementation. 2020-08-10 00:16:58 +02:00
Ion Gaztañaga 844b779a7d Clean-up insertion code and speed upt single value insertion for proxies having that trait. 2020-08-10 00:02:26 +02:00
Ion Gaztañaga bff516315b Add BOOST_CONTAINER_FORCEINLINE to more trivial functions 2020-08-10 00:00:51 +02:00
Ion Gaztañaga e02b5c9bde Add "back_free_capacity" utility 2020-08-09 23:54:52 +02:00
Ion Gaztañaga d271c6384d Use "set_stored_size" to avoid conversion warnings when updating member "stored_size_type types. 2020-08-09 23:54:24 +02:00
Ion Gaztañaga c48edfe7bd Reenabled the following warnings in MSVC to detect errors in the implementation:
4244 // possible loss of data
4267 // conversion from "X" to "Y", possible loss of data
4702 // unreachable code
2020-08-09 23:49:15 +02:00
Ion Gaztañaga 978f1c426d Generalize "clamp_by_stored_size_type" to be able to reuse it in other containers 2020-08-09 23:47:41 +02:00
Ion Gaztañaga cc51aa2e49 Add BOOST_CONTAINER_FORCEINLINE to trivial functions and add is_single_value_proxy attribute to single value proxies. This trait can be used by insertion functions to optimize operations at compile time. 2020-08-09 23:45:13 +02:00
Ion Gaztañaga 4eb93761db Fix "-Wdeprecated-copy" warnings 2020-08-09 23:28:07 +02:00
Ion Gaztañaga c08ead7f4b Add BOOST_CONTAINER_DISABLE_NOINLINE 2020-08-09 23:27:12 +02:00
Ion Gaztañaga e0c7cb99b3 Fix possible unsigned underflow warnings. 2020-08-09 23:26:34 +02:00
Ion Gaztañaga 716ade8e56 Add BOOST_CONTAINER_FORCEINLINE to destroyers' trivial functions 2020-08-09 23:25:31 +02:00
Ion Gaztañaga f99da8551b Use boost::container::vector/list instead of std 2020-08-09 23:24:13 +02:00
Ion Gaztañaga 0143caf985 Explicitly instantiate "stored_size" option to catch conversion warnings 2020-08-09 23:23:56 +02:00
Ion Gaztañaga 52aae65fcd Fix unreachable code warning 2020-08-09 23:23:26 +02:00
Ion Gaztañaga b946b779e6 Remove unused include 2020-08-09 23:23:13 +02:00
Ion Gaztañaga 974e8e641a Fix "-Wdeprecated-copy" warnings 2020-08-09 23:21:46 +02:00
Ion Gaztañaga 06417de498 Fixes #125 ("flat_map doc misleading complexity"). boost-1.74.0 2020-07-13 12:31:58 +02:00
Ion Gaztañaga 2d9d28b81e Fixed #128 ("moved from small_vector and static_vector calls destructor on elements in static part") 2020-07-12 13:48:38 +02:00
Ion Gaztañaga 069351adfc Fixes #126 ("flat_set.hpp and set.hpp in pmr have the same header guard") 2020-07-12 12:53:47 +02:00
Ion Gaztañaga 98b59db5fd Fixes #149: ("InitializeCriticalSectionEx returns "BOOL" (int)") 2020-07-12 12:44:31 +02:00
Ion Gaztañaga 90de9533ec Fixes #151 ("Buffer overflow in monotonic_buffer_resource::do_allocate"). 2020-07-12 11:07:50 +02:00
Ion Gaztañaga 4f37a023b0 Enable user warnings in tests to be able to fix them. 2020-07-12 11:06:01 +02:00
Ion Gaztañaga 5d8e008c50 Fix initializer_list contructor allocation count 2020-07-12 11:05:34 +02:00
Ion Gaztañaga 4070eddb5b Update changelog for 1.74, no fixes were released in 1.73 boost-1.74.0.beta1 2020-05-25 02:01:27 +02:00
Ion Gaztañaga d64a15b620 Merge branch 'tobias-loew-develop' into develop 2020-05-25 01:50:44 +02:00
Ion Gaztañaga 80d742f860 Added C++03 portable aliases and tests. Fixes #129 ("Alias templates for small_flat_[multi]{set|map} using small_vector as container") 2020-05-25 01:50:23 +02:00
Ion Gaztañaga 8b8a0c05a5 Merge branch 'develop' of https://github.com/tobias-loew/container into tobias-loew-develop 2020-05-25 01:04:55 +02:00
Ion Gaztañaga 92bb95a436 Merge branch 'eldiener-develop' into develop 2020-05-25 00:58:48 +02:00
Ion Gaztañaga c064db0cb8 Update changelog with pull 146 2020-05-25 00:46:54 +02:00
Ion Gaztañaga f9340421da Merge branch 'develop' of https://github.com/eldiener/container into eldiener-develop 2020-05-25 00:36:06 +02:00
Ion Gaztañaga 52b9ae0e68 Fixes #145 ("Allocations not handled correctly in some cases of vector move with unequal allocators") 2020-05-25 00:35:07 +02:00
Ion Gaztañaga 649d6d0478 Add BOOST_CONTAINER_FORCEINLINE in more places 2020-05-25 00:14:15 +02:00
Ion Gaztañaga 39edf046d5 Additional fix for #148 ("Fix static initialization issues in pmr global resources") in set_default_resource 2020-05-24 19:00:19 +02:00
Ion Gaztañaga f3a949697b Update changelog with #144 2020-05-24 00:37:59 +02:00
Ion Gaztañaga eff9bdfdaa Fixes #148 again (Fix static initialization issues in pmr global resources) 2020-05-24 00:37:36 +02:00
Ion Gaztañaga ebb585b6f0 Merge branch 'EugeneZelenko-use-boost-override' into develop 2020-05-24 00:35:42 +02:00
Ion Gaztañaga 4548ddacf7 Merge branch 'develop' into use-boost-override 2020-05-23 23:42:15 +02:00
Ion Gaztañaga 093467e1d3 Fixes #148 (Fix static initialization issues in pmr global resources) 2020-05-23 23:38:58 +02:00
Eugene Zelenko 811dc94bb4 Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings. 2020-05-08 09:28:49 -07:00
Edward Diener cc5c59c7a5 Inline friend function definitions for exported/imported classes must become declarations and inline definitions outside the class for Embarcadero C++ clang-based compilers. This bug has been reported to Embarcadero. 2020-04-24 15:10:57 -04:00
Edward Diener 5d526092fb Addition needed for Embarcarder clang-based compilers. 2020-04-23 13:45:23 -04:00