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
Ion Gaztañaga
e7d24400cb
Refactor trivial copy/assign traits. Assume intrinsics don't guarantee the copy constructor/assignment is callable.
2016-06-30 16:23:05 +02:00
Ion Gaztañaga
94627830e6
Add reverse iterator to be used in sort algorithms
2016-05-13 00:19:37 +02:00
Ion Gaztañaga
122916d820
Removed tabs.
2016-03-23 22:11:25 +01:00
Ion Gaztañaga
d247eea058
Cleanup BOOST_MOVE_CONVERSION_AWARE_CATCH macros with is_same_or_convertible, which allows compatibility with more compilers and input iterators
2016-02-24 10:06:43 +01:00
Ion Gaztañaga
d5981c52a9
Add experimental adaptive_merge/sort functions
2016-02-23 13:17:12 +01:00
Ion Gaztañaga
ab98479759
Introduce BOOST_MOVE_FORCELINE, disabled by default, so that we can start speeding up debug builds that use Boost.Move
2015-12-24 10:39:57 +01:00
Ion Gaztañaga
827f6de30e
Move BOOST_MOVE_HELPERS_RETURN_SFINAE_BROKEN to a more general header so that it can be used by other libraries like Intrusive
2015-10-17 09:38:38 +02:00
Ion Gaztañaga
b79bb35b0f
Add support for GCC 3.4
2015-10-12 16:18:31 +02:00
Ion Gaztañaga
09c75813a6
Refactor std namespace deduction for forward declarations
2015-09-14 22:33:20 +02:00
Dmitry Sobinov
172d49cf54
Fixed build errors with gcc and LLVM libc++
2015-09-14 23:01:58 +10:00
Ion Gaztañaga
6e42a16dd6
Add missing std:: namespace to size_t types.
2015-09-08 23:19:54 +02:00
Ion Gaztañaga
49e1fbb0f5
New macros for two-dimension expansion
2015-09-07 18:17:54 +02:00
Ion Gaztañaga
49a42a2fff
- Removed unused "bool Bool" template parameter which was conflicting with some external library macros.
...
- Fixed Trac #11500 https://svn.boost.org/trac/boost/ticket/11500
2015-07-27 22:20:10 +02:00
Ion Gaztañaga
0a429e5de9
Use reinterpret_cast instead of static_cast when the address sanitizer is on to avoid errors in C++03 emulation.
2015-07-02 14:55:51 +02:00
Ion Gaztañaga
196914b7a0
Added is_const trait
2015-06-04 11:12:48 +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
4f9c2b62fb
-> Added new meta-utils that were duplicated in Container & Intrusive.
...
-> Use some of them to avoid SFINAE instantiation errors in some old compilers.
-> Added a macro to static_cast or reinterpret_cast to rv<T> so in the future we can avoid some sanitizer errors when using static_cast
2015-04-12 12:26:46 +02:00
jzmaddock
67ffda6684
Fix for BOOST_ALIGNMENT_OF being set to an "unknown" value.
2015-02-21 18:13:28 +00:00
Ion Gaztañaga
d61685461c
Include boost/config.hpp before testing BOOST_HAS_PRAGMA_ONCE.
2015-02-02 15:58:29 +01:00
Ion Gaztañaga
db6448f7ea
Added is_nothrow_swappable
2015-01-19 00:05:05 +01:00
Ion Gaztañaga
f21d8f51e7
Use is_class in is_empty_nonintrinsic.
2015-01-18 20:22:22 +01:00