1
0
forked from boostorg/move
Commit Graph

210 Commits

Author SHA1 Message Date
Ion Gaztañaga
19bb08cf17 Make identity operator() const 2022-05-29 17:58:56 +02:00
Ion Gaztañaga
17012d5aae Split lower_bound/upper_bound to its own header 2022-05-03 22:59:44 +02:00
Ion Gaztañaga
1cd013d3c1 Add BOOST_Add BOOST_MOVE_FORCEINLINE to bool_ 2022-05-03 22:59:05 +02:00
Ion Gaztañaga
09a6c8a66e Add natN utility 2022-03-10 12:53:12 +01:00
Ion Gaztañaga
208df9f3c3 Use std::iterator_traits for C++20 as this version it's too complicated to be emulated by the library. 2022-01-12 00:57:39 +01:00
Ion Gaztañaga
78f26da1f3 Forward declare std::contiguous_iterator_tag only when the standard library defines it 2022-01-04 16:27:43 +01:00
Ion Gaztañaga
bd91ec0259 Increase minimum version for forceinline usage in MSVC as bad code generation was detected in some cases 2022-01-04 00:23:27 +01:00
Ion Gaztañaga
23c12bef69 Add BOOST_MOVE_TO_LV to help reducing potential UB 2022-01-02 00:03:38 +01:00
Ion Gaztañaga
5ebcc17657 Activate BOOST_MOVE_FORCEINLINE with GCC > 5, since some code generation problems were detected in tests executed under MingW. 2022-01-02 00:03:15 +01:00
Ion Gaztañaga
777ec2ccb6 addressof.hpp include was missing 2021-12-30 12:48:35 +01:00
Ion Gaztañaga
d5b747c5f7 ADd missing include for BOOST_MOVE_FORCEINLINE 2021-12-30 12:48:07 +01: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
dc9edc458c Fixes #47: ("MSVC C5243: 'member_function_ptr': using incomplete class can cause potential ODR violation ...") 2021-12-26 22:25:05 +01:00
Ion Gaztañaga
9505c4cc59 Merge branch 'develop' of github.com:boostorg/move into develop 2021-12-26 22:12:47 +01:00
Ion Gaztañaga
4335c7874a Fix -Wshadow warnings 2021-12-26 22:12:32 +01:00
Ion Gaztañaga
7c8527b2d0 Merge pull request #46 from mkurdej/fix-include
Include <algorithm> when BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE is defined
2021-12-26 22:07:23 +01:00
Ion Gaztañaga
1378bd263f Fixes #48 ("MSVC warning C4643: Forward declaring 'nothrow_t' in namespace std is not permitted by the C++ Standard") 2021-12-26 22:05:26 +01:00
Marek Kurdej
73c843cac4 Include <algorithm> when BOOST_MOVE_USE_STANDARD_LIBRARY_MOVE is defined. 2021-12-10 09:36:04 +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
82dfdf8e78 Fixes #44 ("Unused local type error with warnings-as-errors=on variant=release") 2021-10-19 16:12:10 +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
260423791d Fixes #40 ("Warning 4675 is not defined in MSVC") 2021-06-19 20:20:43 +02:00
Ion Gaztañaga
1d0320ae33 Add forward declaration to contiguous_iterator_tag. 2021-04-21 00:44:27 +02:00
Ion Gaztañaga
61c5c6f8d7 Fix syntax error for Mac version of nsec_clock() 2021-04-04 18:40:12 +02:00
Ion Gaztañaga
1164b93fb8 Make sure proper SFINAE is available changing BOOST_NO_SFINAE_EXPR with BOOST_NO_CXX11_SFINAE_EXPR 2021-01-04 23:26:03 +01:00
Ion Gaztañaga
029e5e81fd Avoid boost/detail dependency. 2021-01-04 23:25:38 +01:00
Ion Gaztañaga
199195ee1b Some workarounds for older compilers to see if #36 is fixed. 2020-12-31 17:13:42 +01:00
Ion Gaztañaga
a24923b8a4 Fixes #35 ('New nothrow move traits are incomplete') 2020-12-30 00:05:29 +01:00
Ion Gaztañaga
4a60a8eb06 Fix compilation issue for aligned_struct_wrapper and aligned_union. 2020-11-03 10:56:41 +01:00
Ion Gaztañaga
6d0bcff38a Fix compilation error for MSVC 10 x86 in aligned_union 2020-11-03 09:40:01 +01:00
Ion Gaztañaga
3446ceeaaf Use special MSVC x86 version for aligned_storage as the 32 bit ABI has problems when passing types (even with 8-byte alignment) by value. 2020-11-02 11:21:55 +01:00
Ion Gaztañaga
eb941db76c Use "__is_trivially_constructible" intrinsic in Clang and GCC if available to avoid false positives with "__has_trivial_copy" intrinsics. 2020-10-30 09:39:20 +01:00
Ion Gaztañaga
ce209c4102 - Cache QueryPerformanceFrequency result 2020-10-23 14:11:24 +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
7df81354d5 Avoid warning "conversions to arrays of unknown bound are only available with -std=c++2a..." when using -pedantic for GCC >= 10 2020-10-20 11:29:16 +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
Ion Gaztañaga
01d8832c9e Add remove_cvref 2020-08-31 22:19:47 +02:00
Ion Gaztañaga
9a77e69bb5 Add newer BOOST_MOVE_HAS_NOTHROW_MOVE_CONSTRUCT intrinsics 2020-08-09 23:43:11 +02:00
Ion Gaztañaga
8dbce71f6b Add //BOOST_MOVE_UREFANON macro 2020-08-09 23:41:47 +02:00
Ion Gaztañaga
fa3aa147b4 Add more BOOST_MOVE_FORCEINLINE 2020-06-03 00:19:06 +02:00
Edward Diener
1ff7da1267 Change __CODEGEARC__ to BOOST_CODEGEARC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-03-25 19:59:00 -04:00
Ion Gaztañaga
48243ffc03 Fixes #28 ("Warning C4624 on MSVC 2019") 2020-01-07 16:04:22 +01:00
Ion Gaztañaga
c283a2f123 Fixes #26 ("Invalid iterator increment/decrement in the last iteration of adaptive_sort_combine_blocks") 2019-04-24 20:59:00 +02:00
Ion Gaztañaga
bfdfca0b88 Fixes Issue #25 2019-04-08 00:32:28 +02:00
Romain Geissler
68d57d8cab Fix gcc 9 deprecated copy warnings in antistable. 2019-03-22 10:34:14 +00:00
Ion Gaztañaga
756c964798 Fix issue #81 from Interprocess, self-moving range was corrupting range merging 2019-03-21 23:49:54 +01:00