Ion Gaztañaga
7e232bbc19
Fully qualified "unique" call to avoid ADL ambiguities with some older compilers.
2016-06-28 11:53:13 +02:00
Ion Gaztañaga
36f5aa842b
Remove some instantiations to avoid hitting section limits when compiling with GCC.
2016-06-25 11:20:11 +02:00
Ion Gaztañaga
fcaf422092
Disable ADL for as_const, it triggers ambiguities in VC14
2016-06-25 11:19:32 +02:00
Ion Gaztañaga
e707b671fd
Simplify tests to support old gcc 4.2 compilers
2016-06-25 11:05:40 +02:00
Ion Gaztañaga
b8a06a24d5
Comment typo and tab
2016-05-13 22:17:23 +02:00
Ion Gaztañaga
310d8eaf10
Fixed Trac #11957 : "static_vector::max_size() is higher than the capacity"
2016-02-24 14:45:44 +01:00
Ion Gaztañaga
a7158c7975
Fixed Trac #12014 : "boost::container::set can not insert const (ref) range"
2016-02-24 10:13:07 +01:00
Ion Gaztañaga
33b331da38
Reduce redundant instantiations to improve test build times
2016-02-23 13:29:46 +01:00
Ion Gaztañaga
e6182f025c
Reduce bench constants for debug modes
2016-02-23 13:29:15 +01:00
Ion Gaztañaga
b436c91590
Fix Trac #11866 : small_vector does not have range constructor. Added all missing constructors to small vector
2015-12-25 13:27:30 +01:00
Ion Gaztañaga
211c474eb4
small_vector was not being tested in some places due to copy-paste error.
2015-12-25 13:27:06 +01:00
Ion Gaztañaga
01deaa2de0
Use internal typedef when passing allocator as argument.
2015-12-25 13:26:20 +01:00
Ion Gaztañaga
e50751a42c
Use lightweight_test instead of returns to improve error reports. Fix use-after-destroy bug in test.
2015-12-25 13:25:17 +01:00
Ion Gaztañaga
641d1a5d5a
small_vector: Added copy/move constructor/assignments from small_vector_base
2015-12-24 13:46:00 +01:00
Ion Gaztañaga
743e60a2d3
Revert some unneeded changes for GCC 3.4.
2015-10-12 22:13:09 +02:00
Ion Gaztañaga
7764e05444
Changes to support GCC 3.4
2015-10-12 18:51:08 +02:00
Ion Gaztañaga
3f4a5dec6e
Add some C++1 missing functions to string and a couple of debug assertions
2015-09-18 14:38:38 +02:00
Ion Gaztañaga
f1f97518d3
Fixed Track #11627 and #11628
2015-09-09 09:48:09 +02:00
Ion Gaztañaga
33d2f0f7af
Add Polymorphic Memory Resource utilities and rework the separately compiled library:
...
- Dlmalloc's based C function are boost_cont_xxx no longer exported, but wrapped into C++ linkage dlmalloc_xxx functions to effectively reuse Boost's dynamic library and autolink machinery instead of rewriting machinery to compile the C source file.
- Refactored scoped_allocator_adaptor's construct logic as it was shared with polymorphic allocator's one. Moved common logic to detail/dispatch_uses_allocator.hpp. Refactored also scoped_allocator_adaptor test utilities to be reused with polymorphic_allocator tests.
2015-09-07 19:16:46 +02:00
Ion Gaztañaga
08918078aa
Add missing small vector's explicit instantiation test
2015-09-07 18:33:51 +02:00
Ion Gaztañaga
ee998fb5b1
Remove uninitialized variable warnings
2015-06-12 23:51:02 +02:00
Ion Gaztañaga
e7bc9f0c6b
Use move-aware unique algorithm
2015-06-04 11:43:47 +02:00
Ion Gaztañaga
2ee17d108e
Add capacity-related tests
2015-06-04 11:41:29 +02:00
Ion Gaztañaga
e56cfdc8c7
Force invariant checking in tests
2015-06-04 11:41:14 +02:00
Ion Gaztañaga
eb3a7835a1
Uncomment test code
2015-04-14 15:22:15 +02:00
Ion Gaztañaga
6477543f3b
Updated to new meta-functions reused from Intrusive/Move
2015-04-14 15:21:46 +02:00
Ion Gaztañaga
d01cb72b3f
Add iterator tests
2015-04-14 15:03:19 +02:00
Ion Gaztañaga
e5f069da2b
Reenginered partially propagable allocator support in vector. storage_is_unpropagable is now the basic building block, which is simpler and less error-prone.
2015-03-01 22:25:27 +01:00
Ion Gaztañaga
d39b1c143c
Add missing initializer list overload taking an additional allocator.
2015-02-28 23:46:08 +01:00
Ion Gaztañaga
8db0f4ad64
small_vector's initializer list constructor was not implemented and tested.
2015-02-28 00:17:46 +01:00
Ion Gaztañaga
6332a9f0bb
Fix error with initializer_list test code, list has no "insert_after"
2015-02-28 00:17:05 +01:00
Ion Gaztañaga
1025ad2bbc
Reuse vector's initializer_list test code
2015-02-28 00:15:27 +01:00
Ion Gaztañaga
63a83096a8
Add small function to test conversion to small_vector_base
2015-02-27 21:36:43 +01:00
Ion Gaztañaga
7239c8e262
Refactor initializer_list tests to avoid code duplication and add some missing initializer_list overload tests
2015-02-27 19:24:46 +01:00
Ion Gaztañaga
8cdfec7890
Add experimental small_vector class
2015-02-26 00:35:59 +01:00
Ion Gaztañaga
4609c78ccb
Test more constructors
2015-02-26 00:34:37 +01:00
Ion Gaztañaga
6c5e527c60
Improve allocator propagation test with new constructors and refactor code to avoid too many wrappers.
2015-02-26 00:32:32 +01:00
Ion Gaztañaga
342bd73aeb
Implement storage_can_be_propagated and is_always_equal.
2015-02-26 00:25:14 +01:00
Ion Gaztañaga
d0750f4493
Rename parameters to avoid confusion when debugging.
2015-02-26 00:17:57 +01:00
Ion Gaztañaga
22f1d32f7b
Addd new constructors to containers, according to C++14's new constructors taking allocator arguments.
2015-02-03 14:08:29 +01:00
Ion Gaztañaga
10d027aa9c
Include boost/config.hpp before testinG BOOST_HAS_PRAGMA_ONCE.
2015-02-02 15:26:53 +01:00
Ion Gaztañaga
b786c8f716
Replaced BOOST_CONTIANER_NOEXCEPT with BOOST_NOEXCEPT
2015-01-28 22:11:00 +01:00
Ion Gaztañaga
f0f35a830d
Added C++17's is_always_equal to allocator_traits and scoped_allocator_adaptor
2015-01-18 11:22:52 +01:00
Ion Gaztañaga
1012987897
Fix max_size to return the size_type(-1)/sizeof(value_type), as otherwise it would overflow on allocation.
2015-01-17 22:52:17 +01:00
Ion Gaztañaga
7635eba375
Typedef'ed allocator_arg_t as "const std::allocator_arg_t &" to improve interoperability between C++11 allocator-aware types.
2015-01-17 19:11:52 +01:00
Ion Gaztañaga
69324174c7
Support types with std::allocator_arg_at with boost::container::scoped_allocator_adaptor
2015-01-11 23:50:58 +01:00
Ion Gaztañaga
a322203a89
Replaced _MSC_VER with BOOST_HAS_PRAGMA_ONCE before #pragma once.
2015-01-10 12:50:17 +01:00
Ion Gaztañaga
36c8f81e42
Add placement new operator to avoid <new> unnecessarily.
2015-01-10 10:58:08 +01:00
Ion Gaztañaga
493f19f2a9
New tests, to measure if container headers include all what's needed to use them.
2015-01-04 02:27:23 +01:00
Ion Gaztañaga
360957a797
Massive dependency reduction. Removed dependency on several boost libraries and standard C++ headers.
2015-01-02 19:34:21 +01:00