Commit Graph

852 Commits

Author SHA1 Message Date
Ion Gaztañaga
8a2444201a Avoid GCC's overflow warnings for operator new. boost-1.75.0.beta1 boost-1.75.0 2020-11-03 10:59:19 +01:00
Ion Gaztañaga
99d56db196 Update changelog with #162. 2020-11-02 15:08:19 +01:00
Ion Gaztañaga
d4c8bd70ea Fixes #152 ("Tree-based containers have troubles with move-only types") 2020-10-31 23:09:52 +01:00
Ion Gaztañaga
38ea1d7294 Update changelog with #169 2020-10-31 18:57:21 +01:00
Ion Gaztañaga
3e09b67f76 Fixes #169 ("flood of warnings building dlmalloc_ext_2_8_6.c on clang11") 2020-10-31 18:55:09 +01:00
Ion Gaztañaga
05bc4e7b9a Update changelog with #165 and #166 2020-10-25 17:26:07 +01:00
Ion Gaztañaga
3cd08df6fc Avoid including <boost/container/detail/config_begin.hpp> in tests to catch all possible warnings. 2020-10-25 17:25:39 +01:00
Ion Gaztañaga
63073ab556 Merge pull request #168 from boostorg/pr/memory-resource-no-dllexport
Remove BOOST_CONTAINER_DECL from memory_resource
2020-10-25 15:21:49 +01:00
Peter Dimov
44c76d1187 Remove BOOST_CONTAINER_DECL from memory_resource 2020-10-24 23:51:15 +03:00
Ion Gaztañaga
525b46055e - Make sure testsuite works with "exception-handling=off" 2020-10-23 14:14:15 +02:00
Ion Gaztañaga
e490e50192 - Remove obsolete project files 2020-10-23 14:14:02 +02:00
Ion Gaztañaga
4bebeb2353 Make sure test suite/examples/bench compile with exceptions disabled (exception-handling=off) 2020-10-22 01:12:59 +02:00
Ion Gaztañaga
03f030af69 Fixes #156: ("Compile error with vector") and remove warnings about precission loss due to integer narrowing 2020-10-22 01:10:07 +02:00
Ion Gaztañaga
6ca40b9e86 Use custom placement new to support -fno-exceptions 2020-10-21 22:49:25 +02:00
Ion Gaztañaga
31d7f3875f Fixes #167 ("error: the address of 'msg' will always evaluate as 'true' warning with GCC 4.4"). 2020-10-21 22:41:12 +02:00
Ion Gaztañaga
2198086257 Merge pull request #166 from giomasce-throwaway/develop
Fix encoding error in copyright headers.
2020-10-21 22:24:21 +02:00
Ion Gaztañaga
690c38bb47 Fix header-only declaration. 2020-10-20 15:34:27 +02:00
Ion Gaztañaga
c58b66c287 Add missing README 2020-10-20 15:33:02 +02:00
Giovanni Mascellani
433f98ce88 Fix encoding error in copyright headers. 2020-10-05 19:27:15 +02:00
Ion Gaztañaga
0fae2d7e90 Add Issue #163 to changelog 2020-09-07 17:12:09 +02:00
Ion Gaztañaga
3367b56048 Merge pull request #163 from tobias-loew/develop
container_rebind for small_vector with options.
2020-09-07 17:09:23 +02:00
Tobias Loew
a47234cc1c fixed container_rebind for small_vector with options
container_rebind did not compile for small_vector when options are used
2020-09-02 07:24:04 +02:00
Tobias Loew
224655becf Merge pull request #2 from boostorg/develop
Merged from origin
2020-09-02 07:19:22 +02:00
Ion Gaztañaga
3da7877dc0 Fixes #158 (".bak file in git") 2020-08-31 22:23:25 +02:00
Ion Gaztañaga
cdd6d9ad8a Fixes #160 ("Usage of uses_allocator needs a remove_cvref_t") 2020-08-31 22:21:41 +02:00
Ion Gaztañaga
1ac7339ff4 Add test to erase the last element 2020-08-31 22:21:02 +02:00
Ion Gaztañaga
0b297019ec Fixes #161: ("polymorphic_allocator(memory_resource*) non-standard extension causes headache") 2020-08-31 13:37:11 +02:00
Ion Gaztañaga
438813726b Add BOOST_CONTAINER_FORCEINLINE to trivial operations. 2020-08-31 13:36:46 +02:00
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