Commit Graph

742 Commits

Author SHA1 Message Date
Ion Gaztañaga
e866c15fae Update changelog with #122 ("Fix has_trivial_destructor_after_move") 2019-06-08 12:48:03 +02:00
Ion Gaztañaga
aff8b87ce5 Merge branch 'kariya-mitsuru-fix-has_trivial_destructor_after_move' into develop 2019-06-08 12:44:21 +02: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
9e2913d4e3 Fixes #119 ("Missing files breaks develop documentation build") 2019-05-17 08:14:15 +02:00
Ion Gaztañaga
4c348af1eb Added options for small_vector: inplace_alignment and growth_factor. Fixes #47 2019-05-09 22:15:43 +02:00
Ion Gaztañaga
1e9b4a15eb Documentation fixes for options 2019-05-09 22:14:57 +02:00
Ion Gaztañaga
5d96b11fe0 Added options to static_vector: throw_on_overflow/alignment 2019-05-09 13:25:50 +02:00
Ion Gaztañaga
e23c57337f Fixes #107 ("Alignment ignored in resource_adaptor") 2019-05-05 02:06:46 +02:00
Ion Gaztañaga
5f0ce60b39 Fixes #88 ("Implement C++17 MoveAssignable requirements for self-move assignments") 2019-04-30 18:05:50 +02:00
Ion Gaztañaga
909ccf6057 Remove memcpy null pointer warnings in some gcc versions in release mode 2019-04-30 18:04:34 +02:00
Ion Gaztañaga
4c6bea0bc7 Remove allocation overflow warnings in some gcc versions in release mode 2019-04-30 18:03:40 +02:00
Ion Gaztañaga
24e420abe9 Add block size customization options to deque. 2019-04-28 19:18:22 +02:00
Ion Gaztañaga
47226ff16f Fixes #114 ("Fix small_vector noexcept specification") 2019-04-26 23:26:10 +02:00
Andrey Semashev
570e79a677 Move small_vector_base forward-declaration to container_fwd.hpp. 2019-04-26 19:28:34 +02:00
Ion Gaztañaga
1efda13717 Fixes #116 ("MSVC + boost 1.70 compilation error when windows.h is already included (detail/thread_mutex.hpp)") 2019-04-24 23:12:25 +02:00
Ion Gaztañaga
71dfc80dda Add BOOST_CONTAINER_FORCEINLINE to stable_vector_iterator's copy constructor 2019-04-24 22:50:11 +02:00
Ion Gaztañaga
06ee4f7a39 Fixes #118 ("Non-unique inplace_set_difference used in in flat_tree_merge_unique and iterator invalidation in insert_unique") 2019-04-24 22:49:50 +02:00
Edward Catmur
b075bce22e Use real_allocator to find allocator when rebinding
After 83bb62fed3 the allocator parameter of
e.g. small_vector can be void. Use real_allocator to convert this to the
actual allocator used by the container.
2019-04-24 22:38:09 +02:00
Ion Gaztañaga
e46210e046 Fixes #117 ("flat_map/map::insert_or_assign with hint has wrong return types") 2019-04-23 17:03:09 +02:00
Ion Gaztañaga
690bb0a852 Update changelog for 1.71 2019-04-08 00:30:28 +02:00
Ion Gaztañaga
28e8d6da78 Merge pull request #113 from awulkiew/fix/aligned_storage
Prefix aligned_storage with dtl:: (workaround for msvc 10, 11, 12).
2019-04-02 06:49:18 +02:00
Adam Wulkiewicz
ae6480f2a0 Prefix aligned_storage with dtl:: (workaround for msvc 10, 11, 12).
see https://github.com/boostorg/container/issues/112
2019-04-01 19:38:27 +02:00
Ion Gaztañaga
c5869d50de Merge pull request #109 from Breakthrough/develop
Get rid of integer overflow in copy_move_algo.hpp (-fsanitize=integer).
2019-03-30 12:34:40 +01:00
Ion Gaztañaga
7efea237e1 Add forceinline to trivial cases 2019-03-30 12:32:39 +01:00
Ion Gaztañaga
ba02f27989 Merge branch 'Romain-Geissler-1A-warning-deprecated-copy' into develop 2019-03-30 12:26:11 +01:00
Ion Gaztañaga
47b1e4b6bf Merge branch 'warning-deprecated-copy' of https://github.com/Romain-Geissler-1A/container into Romain-Geissler-1A-warning-deprecated-copy 2019-03-30 12:23:22 +01:00
Ion Gaztañaga
0691018321 Avoid using is_convertible during allocator version detection to avoid incomplete type problems in clang compilers. has_version, has already checked the existence of the "version" typedef. boost-1.70.0 2019-03-26 22:42:10 +01:00
Romain Geissler
bde233eea5 Avoid gcc 9 deprecated copy warnings in new_allocator.hpp. 2019-03-22 10:31:37 +00:00
Brandon Castellano
3d135cc308 Get rid of integer overflow (-fsanitize=integer). 2019-03-20 14:40:19 -04:00
Ion Gaztañaga
fa36fbb9a7 Merge branch 'Mike-Devel-min_cmake' into develop boost-1.70.0.beta1 2019-03-06 23:37:11 +01:00
Mike Dev
d8e19e3e5a [CMake] Add minimal cmake support
- CMake file only supports add_subdirectory workflow.
- Provides target Boost::container, but doesn't support
  installation or running unit tests.
2019-03-06 15:45:07 +01:00
Ion Gaztañaga
8dfaee7434 Define nat in iterators to allow explicit instantiation of iterators. 2019-03-05 13:52:08 +01:00
Ion Gaztañaga
da21340323 Fix #105 ("Fix gcc -Wdeprecated-copy") 2019-03-05 12:15:42 +01:00
Ion Gaztañaga
2b3775985e Add BOOST_CONTAINER_FORCEINLINE 2019-03-05 12:11:43 +01:00
Ion Gaztañaga
c987400947 Update changelog with #103 and #104 2019-02-27 00:15:40 +01:00
Ion Gaztañaga
d268f0f2be Merge branch 'MarcelRaad-exception_noreturn' into develop 2019-02-26 23:54:20 +01:00
Ion Gaztañaga
821c5c54ff Merge branch 'exception_noreturn' of https://github.com/MarcelRaad/container into MarcelRaad-exception_noreturn 2019-02-26 23:53:41 +01:00
Ion Gaztañaga
12f97271dc Merge branch 'rolandd-develop' into develop 2019-02-26 23:43:57 +01:00
Marcel Raad
2f5924f06a Fix -Wmissing-noreturn clang warnings
Mark functions only throwing exceptions or calling std::abort with
BOOST_NORETURN.
2019-02-25 10:05:24 +01:00
Roland Dreier
1eb591e85c Fix deallocating never-allocated storage in vector.merge()
If merge() is called on an empty vector, then priv_merge_in_new_buffer() will
call deallocate() with size 0 on the old (not-yet-allocated) vector storage.
This violates the Allocator requirement that the pointer passed to deallocate()
must have come from a call to allocate() with the same size.

Fix this by checking old_cap against 0, and also add a unit test for this bug.
2019-02-23 18:46:06 -08:00
Ion Gaztañaga
81d78dbefa Fixed GitHub #98: ("flat_map: insert_or_assign does not work with hint") 2019-02-02 00:25:09 +01:00
Ion Gaztañaga
b5c25ea058 Use boost::container placement new to avoid ambiguities in overload resolution. 2019-01-31 00:27:30 +01:00
Ion Gaztañaga
bd75c0ebbd Update changelog with issue #100. 2019-01-30 21:34:32 +01:00
Ion Gaztañaga
eaad660682 Merge branch 'Breakthrough-patch-1' into develop 2019-01-30 21:04:59 +01:00
Brandon Castellano
38b854b296 Restore indentation. 2019-01-28 19:59:59 -05:00
Brandon Castellano
33423d4301 Fix compilation issues in detail/flat_tree.hpp. 2019-01-28 15:07:21 -05:00
Ion Gaztañaga
83bb62fed3 Default allocator parameter changed form new_alloator<T> to void to reduce symbol lenghts 2019-01-10 22:54:58 +01:00
Ion Gaztañaga
80789255b9 Fix typo _LIBCPP_VERSION -> _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR 2019-01-07 00:56:44 +01:00
Ion Gaztañaga
2b5197a5cb Fixes Issue #97 2019-01-07 00:38:15 +01:00
Ion Gaztañaga
a9ceb4d9c6 Better use forward declarations and export symbols 2019-01-03 03:32:03 +01:00