Peter Dimov
dffcf99ca6
Use pip install --user
boost-1.74.0.beta1
boost-1.74.0
2020-06-04 16:18:03 +03:00
Peter Dimov
4a7242be23
Remove boost_install call from CMakeLists.txt
2020-06-04 15:59:28 +03:00
Peter Dimov
f07be92a32
Add noexcept to the array overload of endian_reverse_inplace
2020-05-22 17:41:26 +03:00
Peter Dimov
c489997d37
Document endian_reverse_inplace for arrays
2020-05-22 17:34:24 +03:00
Peter Dimov
496e99cbad
Update changelog
2020-05-22 17:20:23 +03:00
Peter Dimov
e2b622d3da
Fix typo
2020-05-22 17:16:43 +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
a6e1da6a79
Remove extra spaces
2020-05-03 18:29:48 +03:00
Peter Dimov
e2fe1d7743
Merge pull request #43 from eldiener/develop
...
Changes for Embarcadero C++ clang-based compilers, targeting Boost 1.74. Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODE…
2020-05-03 17:16:05 +03:00
Peter Dimov
5df5bc062f
Update README
2020-05-03 17:11:50 +03:00
Peter Dimov
9d248e0f5e
Update documentation
2020-05-03 04:46:35 +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
74b73c5c03
Move is_endian_reversible, is_endian_reversible_inplace to detail/endian_reverse.hpp
2020-05-02 22:15:08 +03:00
Peter Dimov
7f025ef4b6
Change >> to > > for C++03
2020-05-02 20:32:42 +03:00
Peter Dimov
ceb58197d5
Add detail/is_scoped_enum.hpp
2020-05-02 20:23:35 +03:00
Peter Dimov
21eed3fd59
Update is_trivially_copyable to also check has_trivial_destructor in the fallback case
2020-05-02 02:25:15 +03:00
Edward Diener
0f33f25eeb
Change __BORLANDC__ to BOOST_BORLANDC and __CODEGEARC__ to BOOST_CODEGEARC, which are defined in Boost config for the Embarcadero non-clang-based compilers.
2020-03-30 20:55:52 -04:00
Peter Dimov
e1b7981a53
ppc64le doesn't have 32 bit
boost-1.73.0.beta1
boost-1.73.0
2020-03-13 00:45:03 +02:00
Peter Dimov
2b101c64a9
Fix alignment test for 32 bit Linux/macOS
2020-03-12 00:59:43 +02:00
Peter Dimov
38598d02a3
Only use address-model=32,64 on selected Travis configurations
2020-03-12 00:50:31 +02:00
Peter Dimov
073ba8ad7d
Add address-model=32,64 to Travis
2020-03-11 15:18:12 +02:00
Peter Dimov
a5ae1bb09f
Remove stray sentences
2020-01-22 03:48:38 +02:00
Peter Dimov
520d37eb9f
Update synopsis of native buffer and arithmetic typedefs
2020-01-22 01:26:11 +02:00
Peter Dimov
81ac17540a
Update overview; move 'choosing approach' section after it
2020-01-21 04:26:38 +02:00
Peter Dimov
7eaa25ec2a
Delete the no-longer referenced mini_review_topics.adoc
2020-01-21 03:59:00 +02:00
Peter Dimov
297a146950
Move history and acknowledgments to an appendix
2020-01-21 03:58:05 +02:00
Peter Dimov
627fa385f1
Clarify revision history entry about floating point support
2020-01-21 03:29:49 +02:00
Peter Dimov
290761ec3d
Move arm64/ppc64le/s390x jobs to the top; add C++14 to them; remove stray VARIANT=release
2020-01-13 19:43:11 +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
94bf4b41f4
Add more architectures to Travis
2020-01-13 17:16:17 +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
3d053160ce
Switch Travis to Xenial
2020-01-05 04:53:37 +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
7ac116915c
__i386__ and __x86_64__ are little-endian (g++ 4.4 unfortunately has no other endianness macros)
2020-01-05 01:07:15 +02:00
Peter Dimov
1330d0f3c4
Add more macOS Travis jobs
2020-01-05 00:07:16 +02:00
Peter Dimov
7854cc109d
Remove use of Predef in detail/order.hpp
2020-01-04 23:21:23 +02:00
Peter Dimov
1a8b6a498b
Remove use of Predef in endian_test.cpp
2020-01-04 21:27:39 +02:00
Peter Dimov
b8139ad7a1
Remove use of Predef in arithmetic.hpp, buffers.hpp, conversion.hpp
2020-01-04 21:18:35 +02:00
Peter Dimov
3de20eb340
Merge pull request #38 from tanzislam/fix-macro-use-with-template-parameters
...
Fix BOOST_STATIC_ASSERT with template arguments
boost-1.72.0.beta1
boost-1.72.0
2019-10-25 14:06:07 -07:00
Tanzinul Islam
7f9a618b8c
Fix BOOST_STATIC_ASSERT with template arguments
...
a2025a932 introduced a `BOOST_STATIC_ASSERT`-check with a template argument list. This causes a compilation error in a pre-C++11 compiler without support for variadic arguments (i.e. if `BOOST_NO_CXX11_VARIADIC_MACROS` is set).
For example:
$ echo '#include <boost/endian/buffers.hpp>' > test.cpp
$ g++ -c -std=c++03 -DBOOST_NO_CXX11_VARIADIC_MACROS -I/path/to/boost test.cpp
results in:
```
In file included from /path/to/boost/boost/endian/detail/endian_store.hpp:9,
from /path/to/boost/boost/endian/buffers.hpp:30,
from test.cpp:1:
/path/to/boost/boost/endian/detail/endian_reverse.hpp:111:76: error: macro "BOOST_STATIC_ASSERT" passed 2 arguments, but takes just 1
111 | BOOST_STATIC_ASSERT( is_integral<T>::value && !is_same<T, bool>::value );
| ^
In file included from /path/to/boost/boost/endian/detail/endian_reverse.hpp:13,
from /path/to/boost/boost/endian/detail/endian_store.hpp:9,
from /path/to/boost/boost/endian/buffers.hpp:30,
from test.cpp:1:
/path/to/boost/boost/static_assert.hpp:157: note: macro "BOOST_STATIC_ASSERT" defined here
157 | # define BOOST_STATIC_ASSERT( B ) \
|
```
2019-10-25 15:18:24 +01:00
Peter Dimov
57d14c5cc5
Update revision history
2019-10-23 16:42:00 +03: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
b2faa783ad
Update documentation for data()
2019-10-16 00:20:58 +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