Commit Graph

944 Commits

Author SHA1 Message Date
Ion Gaztañaga
88b4cf09d9 Forward declare Dinkumware Stdlib's "struct _Nil" in is_pair.hpp instead of pair.hpp 2022-01-04 16:29:59 +01:00
Ion Gaztañaga
237c27a39f Test also C++20 mode for latest MSVC compilers 2022-01-04 16:28:45 +01:00
Ion Gaztañaga
15d61d6d26 Refactor node implemenations from 3 (slist_node, list_node and tree_node) to a single base_node:
- To avoid unneeded includes, is_pair is factored out from pair.hpp implementation
- Fixed bug where value_types inside nodes were not allocator-ware destructed.
- Changed scoped utilities to handle new clases
2022-01-04 00:41:34 +01:00
Ion Gaztañaga
30a4508371 Remove incorrect pair declaration 2022-01-04 00:37:07 +01:00
Ion Gaztañaga
53a020f1f1 Use BOOST_STATIC_ASSERT_MSG for constant checks 2022-01-04 00:36:36 +01:00
Ion Gaztañaga
576e15d6f6 Increase minimum version for forceinline usage in MSVC as bad code generation was detected in some cases 2022-01-04 00:24:27 +01:00
Ion Gaztañaga
b6020f5d73 Use BOOST_MOVE_TO_LV in pair to avoid potential UB 2022-01-02 00:26:44 +01:00
Ion Gaztañaga
2ed03bcba5 Delete forceinline attribute to the allocation function 2022-01-02 00:07:59 +01:00
Ion Gaztañaga
a111e9f369 Use BOOST_CONTAINER_FORCEINLINE with GCC > 5 due to some code generation errors detected in MinGW 2022-01-02 00:07:42 +01:00
Ion Gaztañaga
d5c676a696 Update project with header files 2022-01-02 00:07:11 +01:00
Ion Gaztañaga
fc8d0ff35c Remove unneeded "typename" 2021-12-31 01:14:06 +01:00
Ion Gaztañaga
2da6088d0c Improve test directly using transform_iterator and several containers 2021-12-31 01:03:11 +01:00
Ion Gaztañaga
0eb901ee05 Fix wrongly committed boost_iterator_comp_test version 2021-12-30 23:27:40 +01:00
Ion Gaztañaga
3750b66b38 Add minimal test to make sure boost iterator-like iterators are compatible with Boost.Container. Example taken from Trac 12698 (https://svn.boost.org/trac10/ticket/12698) 2021-12-30 23:16:26 +01:00
Ion Gaztañaga
56f1c64a6c Merge branch 'develop' of github.com:boostorg/container into develop 2021-12-30 12:52:15 +01:00
Ion Gaztañaga
ef0eba34f6 Fix potential null pointer in memmove warning for GCC 2021-12-30 12:51:53 +01:00
Ion Gaztañaga
6b29fbf90d Add overload for unsigned long long so that x64 builds work 2021-12-30 12:33:22 +01:00
Ion Gaztañaga
d691471816 Improve aliasing issues in C++03 that could lead to release tests failing in some tests 2021-12-29 23:44:18 +01:00
Ion Gaztañaga
4301005b25 Remove some Wmaybe-uninitialized warnings for GCC 11 2021-12-29 23:43:44 +01: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
ec73bd71e1 Fix -Wshadow warnings 2021-12-29 17:30:15 +01:00
Ion Gaztañaga
0e675a241a Fix maybe uninitilized read warnings.
Fix initial allocation functions
2021-12-29 17:29:48 +01:00
Ion Gaztañaga
f2b2fbd7f8 Update workflow with windows + clang 2021-12-28 18:31:01 +01:00
Ion Gaztañaga
3f76f9fdf7 Fixes #206 ("operator-> on static_vector::iterator causes cast alignment warning") 2021-12-28 15:17:15 +01:00
Ion Gaztañaga
ea3521bf14 Fix -Wshadow warnings 2021-12-27 14:40:29 +01:00
Ion Gaztañaga
40735223d5 Added BOOST_OVERRIDE according to -Wsuggest-override 2021-12-27 01:01:10 +01:00
Ion Gaztañaga
f8988cb155 Merge pull request #201 from tusharb86/develop
Add Boost Software License
2021-11-18 20:14:23 +01:00
Tushar Bhatnagar
4429cb7b81 Add Boost Software License 2021-11-18 11:40:54 -05:00
Ion Gaztañaga
42e7aaecec Fixes #200 (Warning) 2021-11-17 15:33:04 +01:00
Ion Gaztañaga
f6a03fd3f2 Fixes #197 ("small_vector::swap causes spurious allocations and suboptimal performance") boost-1.78.0 boost-1.78.0.beta1 2021-11-01 00:19:16 +01:00
Ion Gaztañaga
7f35ef420e Support Clang's -Wconversion -Wfloat-conversion -Wsign-conversion with -Werror 2021-10-20 00:18:05 +02:00
Ion Gaztañaga
3e89ec6891 Merge branch 'develop' of github.com:boostorg/container into develop 2021-10-16 15:58:21 +02: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
760026726a Merge pull request #190 from sdarwin/feature/gha_fix_1
Update GitHub Actions CI file
2021-09-28 12:30:29 +02:00
Ion Gaztañaga
883868e6b2 Merge branch 'dsbabkov-develop' into develop 2021-09-24 23:00:16 +02:00
Dmitriy Babkov
2077adb0bc Fix documented Complexity of static_vector::reserve 2021-09-14 16:19:56 +03:00
Ion Gaztañaga
bcd41a1c64 - Add BOOST_CONTAINER_FORCEINLINE to trivial string internal functions
- Fixes #192 ("basic_string::clear() has poor codegen compared to STL implementations")
2021-09-13 14:19:38 +02:00
Ion Gaztañaga
bfbab6ed7f Fixes #186 ("Warnings out the wazoo") 2021-08-09 00:59:57 +02:00
Ion Gaztañaga
1cc35bbc98 Fixes #187 ("flat_map::erase and unique keys") 2021-08-08 00:38:29 +02:00
Ion Gaztañaga
aaa2485ebf Fixes #188 ("Build fails when RTTI is disabled") 2021-08-08 00:06:01 +02:00
sdarwin
03afb9786a Update GitHub Actions CI file 2021-07-30 16:10:56 +00:00
Ion Gaztañaga
aa479c8eee Merge branch 'master' of github.com:boostorg/container into develop boost-1.77.0.beta1 boost-1.77.0 2021-06-25 23:40:06 +02:00
Peter Dimov
a1565bc439 Do not define BOOST_CONTAINER_SOURCE in CMakeLists.txt 2021-06-09 19:03:00 +03:00
Peter Dimov
ed042107dd Do not define BOOST_CONTAINER_SOURCE in CMakeLists.txt 2021-06-09 18:50:22 +03:00
Peter Dimov
ff0a6b8aae Remove unnecessary source files 2021-06-08 21:50:24 +03:00
Peter Dimov
498aa83f20 Regenerate CMakeLists.txt 2021-06-08 21:50:13 +03:00
Peter Dimov
0ea8ff0275 Remove unnecessary source files 2021-05-28 02:19:00 +03:00
Peter Dimov
820379293f Regenerate CMakeLists.txt 2021-05-28 02:18:12 +03:00
Ion Gaztañaga
15bed478eb Fixes #185 ("Including headers adds exports"), replacing BOOST_SYMBOL_EXPORT with BOOST_SYMBOL_VISIBLE. 2021-05-03 09:18:51 +02:00
Ion Gaztañaga
b7d48f1e08 Fixes #180: ("polymorphic_allocator's copy special member functions are not noexcept") 2021-04-21 00:53:43 +02:00