Ion Gaztañaga
65dc4d1ac6
Use static_assert instead of runtime checks for "has_trivial_destructor_after_move"
2024-11-27 21:59:28 +01:00
Ion Gaztañaga
a0848ceaf1
Fixes #295 ("Bug in small_vector::swap")
2024-11-21 15:49:08 +01:00
Ion Gaztañaga
aa35950ca0
Add shrink_to_fit tests to small_vector
2024-06-03 00:14:25 +02:00
Ion Gaztañaga
9da5dc49f7
Refactor move constructor and swap implementations for small_vector as in some cass unnecesary heap allocation was performed. Add tests for this.
2024-06-02 13:08:18 +02:00
Ion Gaztañaga
397fbda8be
Fixes #280 ("Several containers don't support non-movable types when move assigning")
2024-05-23 23:28:54 +02:00
Ion Gaztañaga
292bab35c6
Revert accidental commit
2024-05-21 14:11:30 +02:00
Ion Gaztañaga
59d760c08b
Document block_size option in deque_options.
2024-05-21 14:08:36 +02:00
Ion Gaztañaga
56cc38f761
Update test_iterator_random test for vector-like containers
2024-04-15 11:57:44 +02:00
Ion Gaztañaga
514e88b376
Remove unneeded header
2024-01-03 02:32:41 +01:00
Ion Gaztañaga
7c74232a40
Remove Boost.StaticAsser dependency
2024-01-02 19:46:05 +01:00
Ion Gaztañaga
5cc9617487
Fixes #233 ("Can't std::move small_vector with move-only type")
2023-03-13 10:06:53 +01:00
Mitsuru Kariya
f25c767a2b
Fix has_trivial_destructor_after_move
...
Most template type parameters 'Allocator' were modified their default type to void since 1.70.0.
These modifications cause has_trivial_destructor_after_move to compile error or yield wrong result.
So, fix them by changing specializations of has_trivial_destructor_after_move.
2019-06-01 22:36:54 +09: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
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
33b331da38
Reduce redundant instantiations to improve test build times
2016-02-23 13:29:46 +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
641d1a5d5a
small_vector: Added copy/move constructor/assignments from small_vector_base
2015-12-24 13:46:00 +01:00
Ion Gaztañaga
f1f97518d3
Fixed Track #11627 and #11628
2015-09-09 09:48:09 +02:00
Ion Gaztañaga
d01cb72b3f
Add iterator tests
2015-04-14 15:03:19 +02: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
63a83096a8
Add small function to test conversion to small_vector_base
2015-02-27 21:36:43 +01:00
Ion Gaztañaga
8cdfec7890
Add experimental small_vector class
2015-02-26 00:35:59 +01:00