1
0
forked from boostorg/move

102 Commits

Author SHA1 Message Date
Ion Gaztañaga
19bb08cf17 Make identity operator() const 2022-05-29 17:58:56 +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
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
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
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
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
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
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
754eaae8e5 Default disable/enable_if to a nat type instead of void, as many SFINAE expressions in funcions default to void *values that are valid parameters. 2019-01-03 00:07:21 +01:00
Ion Gaztañaga
e25607d88e Add additional nat types. 2018-09-09 00:24:00 +02:00
Ion Gaztañaga
ed05d54ebc Use unsigned chars as aligned data types. 2018-09-09 00:23:46 +02:00
Ion Gaztañaga
a296628ce3 Add member "data" char array to aligned_storage::type so that placement new does not break strict alignment 2018-01-30 14:18:45 +01:00
Paul Groke
37d0a0bc04 Workaround for bogus [-Wignored-attributes] warning on GCC 6.x/7.x 2017-10-03 12:47:04 +02:00
Minmin Gong
cfffd3b6b3 Adds support for MSVC ARM64 target. 2017-06-01 00:12:42 -07: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
a70bbaa0e0 Support non raw pointer auxiliary memory. 2017-04-06 22:53:10 +02:00
Ion Gaztañaga
21cb31ad71 New low-level utilities to deal with pointers and iterators 2017-04-06 22:51:10 +02:00
Ion Gaztañaga
a2d08c908d Add new macro that obtains the type of the last argument 2017-04-06 22:17:18 +02:00
Ion Gaztañaga
de55af3cbb Fixed adaptive_sort/merge bugs for stability. 2016-11-12 18:58:16 +01:00
Ion Gaztañaga
10e4dab3ac Remove redundant macro 2016-08-29 00:02:44 +02:00
Ion Gaztañaga
2a0db1e85e Add new macro utilities useful for tuple and piecewise_construct emulation in Boost.Container (part 2) 2016-08-23 02:09:00 +02:00
Ion Gaztañaga
2ef181c9d9 Add new macro utilities useful for tuple and piecewise_construct emulation in Boost.Container. 2016-08-23 01:34:55 +02:00
Ion Gaztañaga
cfd6be4ab4 Documented limitations reported in Trac #12194 and Trac #12307 2016-07-29 11:55:10 +02:00