Commit Graph

1013 Commits

Author SHA1 Message Date
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
Glen Fernandes
34373b0127 Avoid defining a macro in default_allocator 2020-05-23 15:28:10 -04:00
Glen Fernandes
6a33e879dd Simplify noinit_adaptor using allocator_access 2020-05-23 12:26:33 -04:00
Andrey Semashev
15db54983b Added a workaround for MSVC macro max. 2020-05-23 02:39:59 +03:00
Andrey Semashev
fa6e38a9aa Upgraded clang UBSan jobs to clang 10 in Travis CI. 2020-05-22 18:35:41 +03:00
Andrey Semashev
38f827e092 Added gcc 10 build jobs to Travis CI. 2020-05-22 18:33:43 +03:00
Andrey Semashev
2b102e7357 Test the standard library rather than the compiler to select the standard header for std::swap. 2020-05-21 02:04:43 +03:00
Andrey Semashev
9c33851420 Change cxxstd to 2a on clang 10 until Boost.Build is merged to master. 2020-05-08 17:17:14 +03:00
Andrey Semashev
fb593cbbc8 Merge pull request #66 from Kojoley/add-deprecation-warnings
Add deprecation warnings for headers in detail dir
2020-05-08 13:56:33 +03:00
Andrey Semashev
032ce991fb Change cxxstd to 20 on clang 10.
Since https://github.com/boostorg/build/pull/592 was merged, we can switch
back to the most recent C++20 version for clang 10.
2020-05-08 11:49:40 +03:00
Edward Diener
6444de7098 Change __BORLANDC__ to BOOST_BORLANDC, which is defined in Boost config for the Embarcadero non-clang-based compilers. 2020-05-08 11:41:04 +03:00
Peter Dimov
d3a64554f4 Fix Travis 2020-05-06 15:28:12 +03:00
Andrey Semashev
a57c1e0a80 Added clang-10 jobs to Travis CI. 2020-05-05 23:17:39 +03:00
Glen Fernandes
e9ff763d79 Evaluate expression when BOOST_NO_EXCEPTIONS is defined 2020-05-02 09:34:29 -04:00
Glen Fernandes
6069fea76d Add documentation for BOOST_TEST_NO_THROW 2020-05-01 15:20:25 -04:00
Glen Fernandes
3ca745f400 Add BOOST_TEST_NO_THROW and print expression in BOOST_TEST_THROWS 2020-05-01 14:34:02 -04:00
Peter Dimov
94def8a3a6 Merge branch 'feature/lwt-pedantic' into develop 2020-04-28 04:21:59 +03:00
Peter Dimov
295b72cbc0 Disable -Waddress in lightweight_test_test.cpp 2020-04-28 02:04:29 +03:00
Glen Fernandes
eb86df4a04 Remove duplicate test run 2020-04-27 15:56:35 -04:00
Peter Dimov
0a6b8e667b Add warnings=pedantic to the rest of the lwt tests 2020-04-27 22:29:28 +03:00
Glen Fernandes
4d08e709fe Pedantic tests for default_allocator 2020-04-27 14:27:20 -04:00
Glen Fernandes
12ff209bf7 Revise max_size implementation in default_allocator 2020-04-27 14:27:12 -04:00
Peter Dimov
bb0ef6d41e Disable variadic macros warning in lightweight_test_trait.hpp 2020-04-27 19:17:48 +03:00
Peter Dimov
2dd51f248b Use warnings=pedantic for some lwt tests 2020-04-27 18:47:45 +03:00
Glen Fernandes
8fe9805792 Avoid C99 stdint macros in default_allocator 2020-04-26 19:49:01 -04:00
Glen Fernandes
6624532550 Correct spelling in documentation 2020-04-14 19:40:41 -04:00
Glen Fernandes
c31e23b362 Implement allocator access utilities 2020-04-14 14:52:30 -04:00
Glen Fernandes
690514e87c Use BOOST_INLINE_CONSTEXPR in empty_value boost-1.73.0 2020-04-05 19:55:24 -04:00
Peter Dimov
5a5d2adda0 Go back to ::quick_exit, but include the correct <stdlib.h>; on Linux and Cygwin, quick_exit is not brought into std in C++03 mode boost-1.73.0.beta1 2020-03-23 15:54:23 +02:00