Commit Graph
790 Commits
Author SHA1 Message Date
Ion Gaztañaga 80d742f860 Added C++03 portable aliases and tests. Fixes #129 ("Alias templates for small_flat_[multi]{set|map} using small_vector as container") 2020-05-25 01:50:23 +02:00
Ion Gaztañaga 8b8a0c05a5 Merge branch 'develop' of https://github.com/tobias-loew/container into tobias-loew-develop 2020-05-25 01:04:55 +02:00
Ion Gaztañaga 92bb95a436 Merge branch 'eldiener-develop' into develop 2020-05-25 00:58:48 +02:00
Ion Gaztañaga c064db0cb8 Update changelog with pull 146 2020-05-25 00:46:54 +02:00
Ion Gaztañaga f9340421da Merge branch 'develop' of https://github.com/eldiener/container into eldiener-develop 2020-05-25 00:36:06 +02:00
Ion Gaztañaga 52b9ae0e68 Fixes #145 ("Allocations not handled correctly in some cases of vector move with unequal allocators") 2020-05-25 00:35:07 +02:00
Ion Gaztañaga 649d6d0478 Add BOOST_CONTAINER_FORCEINLINE in more places 2020-05-25 00:14:15 +02:00
Ion Gaztañaga 39edf046d5 Additional fix for #148 ("Fix static initialization issues in pmr global resources") in set_default_resource 2020-05-24 19:00:19 +02:00
Ion Gaztañaga f3a949697b Update changelog with #144 2020-05-24 00:37:59 +02:00
Ion Gaztañaga eff9bdfdaa Fixes #148 again (Fix static initialization issues in pmr global resources) 2020-05-24 00:37:36 +02:00
Ion Gaztañaga ebb585b6f0 Merge branch 'EugeneZelenko-use-boost-override' into develop 2020-05-24 00:35:42 +02:00
Ion Gaztañaga 4548ddacf7 Merge branch 'develop' into use-boost-override 2020-05-23 23:42:15 +02:00
Ion Gaztañaga 093467e1d3 Fixes #148 (Fix static initialization issues in pmr global resources) 2020-05-23 23:38:58 +02:00
Eugene Zelenko 811dc94bb4 Use BOOST_OVERRIDE to fix GCC -Wsuggest-override and Clang-tidy modernize-use-override warnings. 2020-05-08 09:28:49 -07:00
Edward Diener cc5c59c7a5 Inline friend function definitions for exported/imported classes must become declarations and inline definitions outside the class for Embarcadero C++ clang-based compilers. This bug has been reported to Embarcadero. 2020-04-24 15:10:57 -04:00
Edward Diener 5d526092fb Addition needed for Embarcarder clang-based compilers. 2020-04-23 13:45:23 -04:00
Ion Gaztañaga f73fb1442a Merge branch 'develop' of github.com:boostorg/container into develop 2020-02-14 05:14:20 +01:00
Ion Gaztañaga 756c4cdc6a Fixed #142 ("memset called with null pointer") 2020-02-14 05:13:50 +01:00
Ion Gaztañaga 0020cbd133 Fixed #143 ("memset called with null pointer") 2020-02-14 05:10:29 +01:00
Ion Gaztañaga 04a91b5e54 Merge branch 'RobertLeahy-feature/plus_zero' into develop 2020-01-14 16:25:01 +01:00
Ion Gaztañaga 7db26b7446 Merge branch 'feature/plus_zero' of https://github.com/RobertLeahy/container into RobertLeahy-feature/plus_zero 2020-01-14 16:09:30 +01:00
Ion Gaztañaga 312f2fddd6 Merge branch 'ToruNiina-fix-typo-in-doc' into develop
origin developch.
2020-01-14 15:42:09 +01:00
ToruNiina 51d4d569ac fix a link in the documentation 2020-01-14 00:54:45 +09:00
Ion Gaztañaga 3c50ab6d3a Update changelog with #138 ("Remove Classes from Global Namespace") 2020-01-13 16:27:00 +01:00
Ion Gaztañaga 21ce1a3560 Merge branch 'RobertLeahy-feature/add_namespace' into develop 2020-01-13 16:24:29 +01:00
Robert Leahy d4a0917821 RandomAccessIterator + 0
Previously the iterators of boost::container::deque would assert when
zero was added to them in at least the following situations:

- The iterator was obtained by a call to boost::container::deque::begin
  and boost::container::deque::empty returns true
- The iterator was default constructed

This is inconsistent with the way in which the iterators of boost::
container::deque have behaved historically and is also inconsistent
with an understanding of iterators developed by analogy with pointers:

- Adding zero to a null pointer is valid despite the fact the null
  pointer cannot be dereferenced
- Adding zero to a pointer that is one past the end yields a pointer
  which is still one past the end and thus which has well defined
  semantics

Fixed this issue and codified the expected behavior in unit tests.
2019-12-22 20:03:57 -05:00
Robert Leahy ac51b5b6d2 detail/value_functors.hpp: Add Namespacing
value_less and value_equal are now boost::container::value_less &
boost::container::value_equal respectively.
2019-12-22 18:10:39 -05:00
Ion Gaztañaga 27c1fea452 Fixes #136 ("List of non BOOST-prefixed macros") 2019-12-19 05:29:46 +01:00
Ion Gaztañaga dd158987e6 Update changelist with #135 ("Missing BOOST_NORETURN for user defined functions"). 2019-12-09 13:43:30 +01:00
Ion Gaztañaga 8abd4a3997 Merge branch 'bolry-changes' into develop 2019-12-09 13:07:52 +01:00
Bo Rydberg 0fa5193cea Update throw tests to avoid segmentation violation 2019-12-05 17:49:58 +01:00
Bo Rydberg f7409fd6ed Missing BOOST_NORETURN for user defined functions
BOOST_NORETURN is missing for the interface of the throwning methods when BOOST_CONTAINER_USER_DEFINED_THROW_CALLBACKS is defined. Without them you can get a `'noreturn' function does return` warning from g++ at `boost/container/static_vector.hpp:46:4`.
2019-12-05 10:14:58 +01:00
Ion Gaztañaga e3f6dc44ad Fixes #127 ("Fix docs for static_vector::max_size() and capacity()") boost-1.72.0 boost-1.73.0.beta1 boost-1.73.0 2019-11-14 23:36:05 +01:00
Ion Gaztañaga 79ae525967 Fixes #133 ("basic_string move constructor with allocator argument has incorrect allocator check") 2019-11-14 15:25:22 +01:00
Ion Gaztañaga 1cf19898c0 Fixes #132: flat_map::lower_bound and upper_bound have wrong/misleading docs 2019-10-19 22:55:46 +02:00
Tobias Loew 4b2ee268cc alias templates for small_flat_[multi]{set|map} using small_vector as container
alias templates for small_flat_[multi]{set|map} using small_vector as container
guarded by  #ifndef BOOST_NO_CXX11_TEMPLATE_ALIASES
2019-09-12 15:07:36 +02:00
Tobias Loew d62a87f434 Merge pull request #1 from boostorg/develop
pull from upstream
2019-09-12 11:47:32 +02:00
Ion Gaztañaga d9341ec394 Fix "count" with heterogeneous lookups in flat_map and flat_set boost-1.71.0.beta1 boost-1.72.0.beta1 boost-1.71.0 2019-06-22 11:41:05 +02:00
Ion Gaztañaga 0c95d4846f Fix "count" with heterogeneous lookups in flat_map and flat_set 2019-06-22 10:26:36 +02:00
Ion Gaztañaga b383c0809a Merge branch 'JanEisenhauer-patch-1' into develop 2019-06-22 10:22:12 +02:00
Jan Eisenhauer 3f09061d78 Remove usage of C++11 features. 2019-06-11 12:04:43 +02:00
Jan Eisenhauer 628289cb00 Solve copy-paste errors. 2019-06-11 11:51:28 +02:00
Jan Eisenhauer a6b6f97a50 Solve copy-paste errors. 2019-06-11 11:17:01 +02:00
Jan Eisenhauer 3319fdb0c2 Merge remote-tracking branch 'origin/develop' into patch-1 2019-06-11 11:05:29 +02:00
Jan Eisenhauer 1aa15ead35 Add testcases for heterogeneous lookup with partial keys. 2019-06-11 10:23:13 +02:00
Ion Gaztañaga 7b62f360b7 Add missing tests for small vector and static vector 2019-06-08 13:01:24 +02:00
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
Jan Eisenhauer 699b1e966d With heterogeneous lookup, equal_range can result in a range with length greater than 1. 2019-06-07 11:55:15 +02:00
Jan Eisenhauer 8376286aa6 With heterogeneous lookup, equal_range can result in a range with length greater than 1. 2019-06-07 11:52:44 +02:00