2
0
mirror of https://github.com/boostorg/move.git synced 2026-01-19 16:32:10 +00:00

79 Commits

Author SHA1 Message Date
Ion Gaztañaga
974dc35b68 Add move_core test to make sure movable classes can be defined with the minimal header. 2024-10-07 23:12:33 +02:00
Rene Rivera
a208d101f6 Change all <source> references to <library>. 2024-07-20 19:40:42 -05:00
Rene Rivera
05d00ac951 Make the library modular usable. 2024-03-11 08:38:17 -05:00
Ion Gaztañaga
e7489078df - Use assertions and invariant checking in release mode testing for sorting/merging
- Disable Wconversion due to iterators using small "difference_type" integers.
2023-05-01 16:42:14 +02:00
Ion Gaztañaga
0865eb3a80 Use lightweight test instead of assert 2023-01-20 12:44:30 +01:00
Ion Gaztañaga
9cbef2df94 Reduce Boost.Move dependencies to only Boost.Config 2023-01-19 00:09:49 +01:00
Ion Gaztañaga
b33190fbab Avoid dependency on Boost.Core only due to "ignore_unused" 2023-01-14 23:52:10 +01:00
Ion Gaztañaga
dfe3ffa8e2 Add checks to detect self-move operations 2022-08-23 07:56:57 +02:00
Ion Gaztañaga
cd52b83819 Fix unsigned/signed comparison warning 2022-08-23 07:56:38 +02:00
Ion Gaztañaga
6cd6a1879c Fix maybe uninitialized value warnings 2021-12-29 17:26:39 +01:00
Ion Gaztañaga
7637429b6c Changes to support -Wcast-align=strict 2021-12-28 15:07:56 +01:00
Ion Gaztañaga
4335c7874a Fix -Wshadow warnings 2021-12-26 22:12:32 +01:00
Ion Gaztañaga
a51c5cc218 Fixes #45 ("Sort/merge bugs that affect boost::container::flat_map") 2021-11-03 15:44:44 +01:00
Ion Gaztañaga
00db7a0829 Fixes #42 ("<boost/move/unique_ptr.hpp> fails when BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE is set") 2021-10-21 16:11:15 +02:00
Ion Gaztañaga
55bbf331b0 Support Clang's -Wconversion -Wfloat-conversion -Wsign-conversion with -Werror 2021-10-20 00:16:34 +02:00
Ion Gaztañaga
2af840afc1 Support GCC's -Wconversion -Wfloat-conversion -Warith-conversion -Wsign-conversion warnings. 2021-10-16 15:36:46 +02:00
Ion Gaztañaga
122a84b366 Remove -Wconversion warnings 2021-10-05 23:30:54 +02:00
Ion Gaztañaga
84be86e943 Boost::timer no longer needed to run tests 2021-04-04 18:49:35 +02:00
Ion Gaztañaga
75eb880a56 - Make sure testsuite passes with "exception-handling=off". Requires using a custom mini-timer since Boost.Timer depends on Boost.Chrono, and Boost.Chrono's dll does not compile without exceptions. 2020-10-22 23:12:51 +02:00
Ion Gaztañaga
e4c47fcb90 - Remove config_begin.hpp/config_end.hpp includes in tests to avoid disabling warnings.
- Fixes #30 ("(void) C-cast is a non-portable way of suppressing compiler warnings").
2020-10-20 11:28:27 +02:00
Peter Dimov
eb06060cd8 Remove Boost::assert from test LINK_LIBRARIES as it's not used by tests 2020-01-05 15:48:43 +02:00
Peter Dimov
05e3580b62 Add CMake install support, tests 2020-01-05 15:24:23 +02:00
Ion Gaztañaga
bfdfca0b88 Fixes Issue #25 2019-04-08 00:32:28 +02:00
Ion Gaztañaga
10074dc835 Optimize sequence generation and add STL-like adaptive algorithms to the benchmark. 2018-12-31 01:02:40 +01:00
Ion Gaztañaga
b0e0563fe4 Remove index warnings 2018-12-31 00:55:46 +01:00
Ion Gaztañaga
7dfabdf2d2 Improve randomness of random_shuffle 2018-12-31 00:55:28 +01:00
James E. King III
b88edb13b5 Add CI framework
- travis with valgrind, cppcheck, ubsan, codecov, covscan (future)
  - appveyor with MSVC 2010 through 2017, cygwin 32/64, mingw 32/64
  - README, LICENSE, etc.
2018-06-19 06:21:21 +00:00
Ion Gaztañaga
06e5c18802 Add std::sort to the benchmark 2018-01-30 14:19:13 +01:00
Ion Gaztañaga
e1eec15b1a - Add heap_sort and pdqsort to the benchmark.
- Refactor adaptive_sort and adaptive_merge.
2017-12-31 19:32:32 +01:00
Ion Gaztañaga
67d3dbe41b ADd new set_difference algorithm and tests. 2017-12-26 21:55:54 +01:00
Ion Gaztañaga
081236e9e0 Remove unneeded static requirement in Jamfile.v2 2017-11-07 00:37:44 +01:00
Ion Gaztañaga
fcf217b8ec Git Issue #15: Incorrect merge in adaptive_merge when the number of unique items is limited 2017-10-07 14:35:22 +02:00
Ion Gaztañaga
4939e1f652 Merge branch 'feature/remove-deprecated' of https://github.com/DanielaE/boost.move into DanielaE-feature/remove-deprecated 2017-04-13 12:31:52 +02:00
Daniela Engert
b2ed4b4521 replace 'std::random_shuffle' by '::random_shuffle'.
Signed-off-by: Daniela Engert <dani@ngrt.de>
2017-04-12 19:35:58 +02:00
Ion Gaztañaga
1dbc7bab5c Fixed Trac #12920 ("movelib::unique_ptr: incorrect pointer type for nested array") 2017-04-09 13:44:08 +02:00
Ion Gaztañaga
de55af3cbb Fixed adaptive_sort/merge bugs for stability. 2016-11-12 18:58:16 +01:00
Ion Gaztañaga
664d99bdfd Added BENCH_SORT|MERGE_UNIQUE_VALUES to speed up regression tests 2016-05-13 00:35:44 +02:00
Ion Gaztañaga
122916d820 Removed tabs. 2016-03-23 22:11:25 +01:00
Ion Gaztañaga
f86a3a40bb Added adaptive merge test 2016-03-23 22:10:27 +01:00
Ion Gaztañaga
baa5f0bbe7 Added adaptive sort test and refactored utilities between adaptive benches and the new test 2016-03-19 12:20:15 +01:00
Ion Gaztañaga
499c5932bf Remove warnings due to size_t -> unsigned conversions 2016-02-24 23:25:56 +01:00
Ion Gaztañaga
d5981c52a9 Add experimental adaptive_merge/sort functions 2016-02-23 13:17:12 +01:00
Ion Gaztañaga
c4faf26527 Make memcpy volatile to make sure bytes are copied and not optimized out by the compiler. 2015-12-24 10:39:24 +01:00
Marshall Clow
c7295862bc Remove mentions of deprecated macros in documentation 2015-09-10 21:03:52 -07:00
Ion Gaztañaga
67bd18d04e Fix uninitialized variable warnings in GCC 4.9 2015-06-10 17:57:24 +02:00
Ion Gaztañaga
4a44ed3d26 Modify unique_ptr's constructor from convertible unique_ptr's to take the argument by value. This allows constructing unique_ptr from functions returning convertible unique_ptr's. See https://svn.boost.org/trac/boost/ticket/11259 for some details. 2015-05-06 12:32:11 +02:00
Ion Gaztañaga
69598a3d3f - Reworked some traits to refactor code
- is_trivially_copy_xxxxable updated to add is_pod
- Updated is_pod adding scalar and void as some compilers' __is_pod intrinsic doesn't work with scalars
- Added test for type_traits. Only a few tested, more to come.
2015-04-26 23:29:27 +02:00
Ion Gaztañaga
32f4d91cec Fixed Trac #11229: vector incorrectly copies move-only objects using memcpy 2015-04-25 11:36:36 +02:00
Ion Gaztañaga
a6d924e82e Fix memory leaks when testing "unique_ptr.release()" 2015-04-12 12:42:34 +02:00
Ion Gaztañaga
0bb4e06cff Removed commented code. 2015-01-08 16:03:04 +01:00