Peter Dimov
|
ccc8c3df3f
|
Remove C++03 workarounds
|
2023-10-19 19:22:46 +03: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
|
3a50c15a97
|
Add CMake install support, tests
|
2020-01-05 03:29:05 +02: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
|
07ec535600
|
boost/predef/detail/endian_compat.h is deprecated; switch to boost/predef/other/endian.h
|
2018-09-11 18:54:54 +03:00 |
|
arvidn
|
4b4123a0fa
|
[cleanup] remove trailing whitespace from source code files
|
2017-11-04 13:07:54 +01:00 |
|
Beman
|
5caf1d16c8
|
Remove floating point support for boost 1.58.0. As currently implemented, return by value operations are not reliable because normalization and other bit pattern changes can occur. Docs not updated as yet. Floating point support will be corrected and reinstated for boost 1.59.0, based on in-place customization and inplace and/or copy signatures to replace the unsafe (i.e. native_to_big/little ) by value returns. The big/little_to_native return by value functions are safe, but require reimplementation.
|
2015-03-24 17:24:56 -04:00 |
|
Beman
|
072b495240
|
Add Endian specific lightweight_test.hpp with new macro BOOST_TEST_MEMCMP_EQ that uses std::memcmp(...)==0 to determine equality. Bitwise equality is the standard we want floating point round trips to be held to, since NaN's are then equal.
|
2015-03-05 10:52:28 -05:00 |
|
Beman
|
c201455c84
|
Change "in_place" to "inplace". Rationale: shortens names without impacting expressiveness.
|
2014-12-10 09:39:03 -05:00 |
|
Beman
|
2cbcd6f7d3
|
Rename "runtime_conditional_reverse" to "conditional_reverse". The differing number of arguments is sufficient to disambiguate the compile-time and run-time overloads.
|
2014-12-10 09:26:47 -05:00 |
|
Beman
|
dcca2835a9
|
Rename "reverse_endianness" to "endian_reverse". Shorter but still plenty explicit. See bikeshed.txt for alternatives considered.
|
2014-12-10 08:30:30 -05:00 |
|
Beman
|
55a65c3806
|
Revert to again supply the reverse_endianness_in_place template. This has the effect of providing a default reverse_endianness_in_place for user-defined types. Add error checking for UDT's to verify this works as desired. Provide a note in the conversion docs to that effect.
|
2014-12-09 11:36:42 -05:00 |
|
Beman
|
bb785ed8e0
|
UDT tests added. Passing on Windows, all local compilers.
|
2014-11-25 11:31:30 -05:00 |
|
Beman
|
7b119ba0ee
|
Add full set of modify in place tests.
|
2014-11-25 09:58:59 -05:00 |
|
Beman
|
56103a7bc6
|
Finish conversion.hpp cleanup after name changes. conversion_test.cpp return-by-value tests reorganized and passing. UTD and in-place tests still to come. Add doc/bikeshed.txt to keep record of naming rationale.
|
2014-11-24 10:04:23 -05:00 |
|
Beman
|
4197f996ac
|
More conversion.hpp fixes. Some, but not all, conversion_test tests passing.
|
2014-11-23 10:38:21 -05:00 |
|
Beman
|
d7120e6fac
|
Delete the original conversion.hpp.
Rename conversion2.hpp to converters.hpp.
Adjust infrastructure accordingly.
|
2013-03-18 20:12:41 -04:00 |
|
Beman
|
d131123327
|
Directory reorg to follow Boost Git practice.
|
2013-03-18 14:57:23 -04:00 |
|