213 Commits

Author SHA1 Message Date
Peter Dimov
0dab6737eb Use <warnings>pedantic 2022-06-28 16:40:40 +03:00
Peter Dimov
a3f658b15d Use <warnings>extra 2022-06-28 14:15:40 +03:00
Peter Dimov
423b695ec0 Remove spirit_conflict_test.cpp; Spirit has been fixed 2022-06-28 02:41:50 +03:00
Peter Dimov
5ec08e62cd Update test/Jamfile 2022-06-28 02:10:34 +03:00
Peter Dimov
a9ab336f89 Reenable ASAN for GCC 12 -m32 2022-06-27 20:31:39 +03:00
Peter Dimov
39f9394e38 Update intrinsic_test.cpp 2022-06-27 20:09:19 +03:00
Peter Dimov
3951447dac Update test/Jamfile 2022-06-27 19:48:06 +03:00
Peter Dimov
141af01ead Add throw_exception to cmake_subdir_test 2021-11-03 18:21:29 +02:00
Peter Dimov
af016adda1 Fix duplicate test under CMake 2021-11-03 16:19:31 +02:00
Peter Dimov
ccc1def8c9 Use -ffloat-store for endian_arithmetic_test to avoid -m32 failures 2021-10-29 05:49:25 +03:00
Peter Dimov
6dc25d067d type_name<T> does not support incomplete types 2021-10-26 00:50:59 +03:00
Peter Dimov
b0b9622ceb Use an unaligned type instead of double in packed_*_test 2020-10-07 01:37:03 +03:00
Peter Dimov
84f15c4fb2 Add more sizeof tests to packed_buffer_test 2020-10-06 22:00:35 +03:00
Peter Dimov
7832a88828 Make endian_arithmetic's data member public when BOOST_ENDIAN_NO_CTORS is defined; add test 2020-10-06 19:34:40 +03:00
Peter Dimov
94b5b7c73f Add test for arithmetic -> buffer conversions 2020-10-06 19:08:25 +03:00
Peter Dimov
914d7d5c8d Make endian_buffer::value_ public when BOOST_ENDIAN_NO_CTORS is defined; add test 2020-10-06 18:53:56 +03:00
Peter Dimov
9ee301b103 Enable conditional_reverse_inplace for arrays 2020-05-05 21:24:02 +03:00
Peter Dimov
d46d2916a8 Add more tests to endian_reverse_test3/4 2020-05-05 20:18:58 +03:00
Peter Dimov
62091e5d0c Add an overload of endian_reverse_inplace for arrays 2020-05-05 20:06:21 +03:00
Peter Dimov
3e2890c243 Enable endian_reverse_inplace for integral/enum/float/double 2020-05-03 03:22:21 +03:00
Peter Dimov
8e617a69d1 Enable scoped enums in endian_reverse 2020-05-03 00:10:26 +03:00
Peter Dimov
ceb58197d5 Add detail/is_scoped_enum.hpp 2020-05-02 20:23:35 +03:00
Peter Dimov
2b101c64a9 Fix alignment test for 32 bit Linux/macOS 2020-03-12 00:59:43 +02:00
Peter Dimov
f143fe172d Fix conversion_test.cpp to not rely on BOOST_ENDIAN_BIG_BYTE 2020-01-13 19:41:04 +02:00
Peter Dimov
69c020ea8f Constrain the primary endian_reverse to not apply to class types; add test. Fixes #41. 2020-01-13 16:22:16 +02:00
Peter Dimov
3a50c15a97 Add CMake install support, tests 2020-01-05 03:29:05 +02:00
Peter Dimov
816c7597e3 Add order_test.cpp 2020-01-05 01:32:57 +02:00
Peter Dimov
1a8b6a498b Remove use of Predef in endian_test.cpp 2020-01-04 21:27:39 +02:00
Peter Dimov
c64f7c3372 Add <boost/endian.hpp> 2019-10-22 19:41:49 +03:00
Peter Dimov
fbc198e75d Add __int128 support to endian_reverse 2019-10-20 21:28:38 +03:00
Peter Dimov
51f095f019 Add data_test 2019-10-15 21:07:40 +03:00
Peter Dimov
59097ada36 Change data() to return unsigned char*; add non-const versions 2019-10-15 18:58:48 +03:00
Peter Dimov
af83fc2537 Add float_typedef_test 2019-10-15 02:41:11 +03:00
Peter Dimov
b015a164f8 Add floating point typedefs to arithmetic.hpp; rename double64 to float64 in buffers.hpp 2019-10-15 02:26:58 +03:00
Peter Dimov
f992e9d3e4 Test floating point typedefs in buffer_test 2019-10-15 02:08:57 +03:00
Peter Dimov
ac0383f28d Test floating point in endian_arithmetic_test 2019-10-15 02:02:11 +03:00
Peter Dimov
60a5068070 Fix whitespace 2019-10-12 22:27:04 +03:00
Peter Dimov
4054afda70 Add convenience store functions 2019-10-12 19:21:19 +03:00
Peter Dimov
22d0d7bcd1 Add convenience load functions 2019-10-12 18:50:59 +03:00
Peter Dimov
33dea996a7 Add constexpr tests for *_to_*, conditional_reverse 2019-10-11 19:57:49 +03:00
Peter Dimov
704cd4d9f7 Skip endian_reverse_cx_test when using non-constexpr intrinsics 2019-10-11 19:48:11 +03:00
Peter Dimov
3c296ff707 Add test/endian_reverse_cx_test 2019-10-11 19:42:32 +03:00
Peter Dimov
96ef03b6cb Update CMakeLists 2019-05-05 04:46:43 +03:00
Peter Dimov
79c3add907 Support any expanding loads in endian_load 2019-04-30 23:53:39 +03:00
Peter Dimov
fe18fdbb3b Include endian/conversion.hpp in the store tests instead of the detail header 2019-04-30 21:29:34 +03:00
Peter Dimov
8df14956d4 Support any truncating store in endian_store 2019-04-30 20:39:17 +03:00
Peter Dimov
d40a3ac3f4 Switch the parameter order of endian_store 2019-04-30 05:13:47 +03:00
Peter Dimov
f0f8e398d6 conversion.hpp: remove unused detail functions, static-assert that types are EndianReversible 2019-04-29 01:32:07 +03:00
Peter Dimov
b29b3dfc10 Move all deprecated names to endian.hpp; add deprecated_test.cpp to test/Jamfile 2019-04-29 00:36:21 +03:00
Peter Dimov
8200306bf1 More signed overflow avoidance 2019-04-28 06:37:29 +03:00