31 Commits

Author SHA1 Message Date
Ion Gaztañaga
db43fc9228 Fix unused variable warning when compiling without exceptions 2025-12-09 22:37:39 +01:00
Ion Gaztañaga
ccc9efcd74 Make static_vector<T, N>'s destructor trivial if T is trivial. 2025-12-09 17:11:57 +01:00
Ion Gaztañaga
978bbb113a Clean force_ptr usage and use launder_cast 2024-04-15 12:51:15 +02:00
Ion Gaztañaga
6e697d7968 Rewrite default_init_test() to make harder for the compiler to optimize because we rely on UB to test memory was not initialized. 2024-01-04 00:59:38 +01:00
Ion Gaztañaga
7c74232a40 Remove Boost.StaticAsser dependency 2024-01-02 19:46:05 +01:00
Ion Gaztañaga
eda6b8dd83 Correct testcase that was failing in GCC-12 2023-05-10 22:16:00 +02:00
Ion Gaztañaga
552688c7fc Simplify dependencies dropping Boost.Core 2023-02-01 23:00:23 +01:00
Ion Gaztañaga
c49b11aec8 Disable buggy warnings using config begin/end 2022-08-24 14:42:30 +02:00
Ion Gaztañaga
6e2032717c Delete test causing false positive warning in GCC 11 2021-12-29 17:30:53 +01:00
Ion Gaztañaga
dad2cb2d02 Support GCC's -Wconversion -Wfloat-conversion -Warith-conversion -Wsign-conversion warnings. 2021-10-16 15:57:47 +02:00
Ion Gaztañaga
d5a830434e - Replaced default standard exception classes with Boost.Container own classes, reducing considerably the included files overhead 2020-12-30 15:07:32 +01:00
Ion Gaztañaga
0a0ad0009e Add support for [[nodiscard]]:
- Decorate container and allocator functions.
- Make sure to disable warnings in tests
- Update doxygen documentation to support it
2020-11-05 14:24:35 +01: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
f99da8551b Use boost::container::vector/list instead of std 2020-08-09 23:24:13 +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
4f37a023b0 Enable user warnings in tests to be able to fix them. 2020-07-12 11:06:01 +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
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
c0ccad469e Add constant for capacity in tests 2017-01-12 14:48:09 +01:00
Ion Gaztañaga
4122e722a4 Added constant static_vector<>/small_vector::static_capacity to use the configured capacity in constant expressions. 2016-08-03 00:18:11 +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
d01cb72b3f Add iterator tests 2015-04-14 15:03:19 +02:00
Ion Gaztañaga
7971dc6602 Refactored uses of <iterator> and <algorithm> to avoid dependencies where possible. 2014-11-26 07:08:06 +01:00
Ion Gaztañaga
f213f55f20 Includes: Updated detail/xxx.hpp includes to core/xxx.hpp, added some missing move/traits.hpp and removed some unused ones. 2014-09-17 21:49:47 +02:00
Robert Matusewicz
089edf9d35 add support for std::initializer_list to boost::container::static_vector 2014-08-19 20:23:14 +02:00
Ion Gaztañaga
0b720f82b4 Fixed #9916: "Allocator propagation incorrect in the assignment operator of most".
Fixed #9932: "Missing assignment operator from related static_vector".
Added missing details from issue #9915
2014-04-21 13:59:49 +02:00
Ion Gaztañaga
59c5ed7781 Fixed error in default_init_allocator, it should not construct objects, only allocate raw memory.
[SVN r85999]
2013-09-29 11:39:34 +00:00
Ion Gaztañaga
14f092ab00 Default initialization for vector-like containers
Complexity guarantees for associative container constructors and ordered input ranges
Added benchmark for associative containers
Fixes #9166

[SVN r85964]
2013-09-26 18:05:25 +00:00
Ion Gaztañaga
43b3b7112b Adapted test to new BOOST_TEST_THROWS utility
[SVN r83434]
2013-03-14 23:09:54 +00:00
Ion Gaztañaga
0896d04ddf Additional vector speed improvements, added basic benchmark against varray
[SVN r83126]
2013-02-24 13:13:36 +00:00
Ion Gaztañaga
f309f82a8f Added experimental static_vector first sketch
[SVN r83036]
2013-02-19 21:35:46 +00:00