Commit Graph

1041 Commits

Author SHA1 Message Date
Peter Dimov 16e9536146 Implement boost::core::endian 2020-12-29 02:41:15 +02:00
Peter Dimov 919b98d425 Use __builtin_popcount 2020-12-29 02:06:56 +02:00
Peter Dimov e8aa0c75b4 Use _BitScanForward 2020-12-29 02:02:33 +02:00
Peter Dimov 8bd2239b0b Use __builtin_ctz 2020-12-29 01:56:34 +02:00
Peter Dimov c838ebc003 Use _BitScanReverse 2020-12-29 01:53:30 +02:00
Peter Dimov aca46fae91 Use __builtin_clz 2020-12-29 01:28:59 +02:00
Peter Dimov 409c809cd8 Add popcount 2020-12-29 01:06:22 +02:00
Peter Dimov dc8aa5eb39 Update test_bit_floor 2020-12-29 00:30:54 +02:00
Peter Dimov 26728848b4 Add bit_ceil 2020-12-29 00:29:44 +02:00
Peter Dimov 3e41929dfb Update bit_floor_test 2020-12-29 00:22:45 +02:00
Peter Dimov 579cb8f7f3 Add bit_floor_test 2020-12-29 00:06:25 +02:00
Peter Dimov 3b14a3677d Add has_single_bit_test 2020-12-28 23:59:58 +02:00
Peter Dimov 26991f0c75 Add bit_width_test 2020-12-28 23:52:39 +02:00
Peter Dimov cc877e6b5b Add countl_zero, countl_one 2020-12-28 23:40:59 +02:00
Peter Dimov 123b567051 Add missing unsigned short tests to bit_rotate_test 2020-12-28 21:54:42 +02:00
Peter Dimov a47eebf41a Add countr_zero, countr_one 2020-12-28 21:52:02 +02:00
Peter Dimov 045487ba96 Add boost/core/bit.hpp (bit_cast, rotl, rotr) 2020-12-28 21:12:22 +02:00
Peter Dimov 804c5b250d Add documentation for cmath.hpp 2020-12-24 01:20:32 +02:00
Peter Dimov bee040b8cc Add fpclassify. 2020-12-24 00:58:56 +02:00
Peter Dimov c307f86520 Add core/cmath.hpp 2020-12-24 00:19:20 +02:00
Peter Dimov 0364b64927 Compute LIBRARY from GITHUB_REPOSITORY 2020-12-23 06:47:00 +02:00
Peter Dimov a04803b6cb Fix BOOST_BRANCH 2020-12-23 05:15:04 +02:00
Peter Dimov 88896d0805 Update ci.yml 2020-12-19 17:54:04 +02:00
Peter Dimov bff4172486 Move windows.yml into ci.yml 2020-12-19 17:45:30 +02:00
Peter Dimov ea0b1dc8a9 Rename posix.yml to ci.yml 2020-12-19 17:44:32 +02:00
Peter Dimov 3d6683edb5 Update maintainer e-mail 2020-12-12 01:01:07 +02:00
Peter Dimov 72089753f7 Add Doxygen annotation 2020-11-21 18:18:31 +02:00
Peter Dimov 156a016865 Add matrix.addrmd, toolset=gcc to windows.yml 2020-11-20 05:22:06 +02:00
Peter Dimov 0dcd164a12 Add .github/workflows 2020-11-20 04:23:22 +02:00
Peter Dimov 54671134ae Add implicit conversion between compatible reference wrappers (refs #83) 2020-11-19 18:57:56 +02:00
Peter Dimov 7bc2873e38 Update appveyor.yml 2020-11-14 22:02:03 +02:00
Andrey Semashev ca4893063f Switch to from c++2a to c++20 for gcc-10 and clang-10. boost-1.75.0.beta1 boost-1.75.0 2020-08-20 15:10:47 +03:00
Andrey Semashev dcc04c5508 Added a workaround for uncaught_exceptions for older Mac OS and iOS.
libc++ disables std::uncaught_exceptions for Mac OS < 10.12 and
iOS < 10.0, even though it defines __cpp_lib_uncaught_exceptions.

Fixes https://github.com/boostorg/core/issues/80.
boost-1.74.0
2020-07-20 23:13:42 +03:00
Glen Fernandes 484487f958 MSVC2017 /std:c++17 warnings in allocator access 2020-07-17 09:30:00 -04:00
Andrey Semashev 503d035b7f Added a workaround for uncaught_exceptions on AIX with xlclang++.
The compiler provides cxxabi.h header but doesn't have __cxa_get_globals,
even in the ABI library. We have to disable __cxa_get_globals-based
implementation and fall back to std::uncaught_exception.

Fixes https://github.com/boostorg/core/issues/78.
2020-07-16 20:53:09 +03:00
Peter Dimov 35a025d59b Untabify lightweight_test_with_fail boost-1.74.0.beta1 2020-06-15 21:32:50 +03:00
Peter Dimov c6d72da515 Document BOOST_TEST_WITH 2020-06-07 01:32:19 +03:00
Peter Dimov f96fb31850 Rename lw_predicate_name to lwt_predicate_name 2020-06-06 22:53:20 +03:00
Peter Dimov b414be98c9 Add lightweight_test_with_fail 2020-06-06 21:54:16 +03:00
Peter Dimov 544fd495e5 Remove unnecessary includes, add const 2020-06-06 21:49:09 +03:00
Peter Dimov e155e13084 Change lw_name_traits to lw_predicate_name 2020-06-06 21:48:16 +03:00
Bjorn Reese 6e36923915 Added BOOST_TEST_WITH macro to verify test results with custom predicate 2020-06-06 18:52:43 +02:00
Glen Fernandes b67cce85c8 Correct spelling mistake in documentation 2020-05-28 09:20:01 -04:00
Glen Fernandes 376aa7aa31 Revise allocator_access implementation 2020-05-25 16:14:40 -04:00
Glen Fernandes 65901249d5 Workarounds for MSVC 2013 expression detection 2020-05-24 13:10:24 -04:00
Glen Fernandes 1c16d5ed87 Workaround for MSVC 2017 warning
MSVC provides deprecated members on allocator which we detect.
2020-05-24 10:48:36 -04:00
Glen Fernandes 27715ed01a Simplify alloc_construct using allocator_access 2020-05-24 02:45:11 -04:00
Glen Fernandes 9f2dbba2fc Workaround for MSVC 2015 expression SFINAE 2020-05-24 02:45:00 -04:00
Glen Fernandes 0159b6d8e5 Revise construction in allocator_access 2020-05-24 02:43:33 -04:00
Glen Fernandes 0dbd5aaadd Update empty_value constructors 2020-05-23 19:53:16 -04:00