Commit Graph
143 Commits
Author SHA1 Message Date
Andrey Semashev 9cbf3ac420 Fixed fclose_deleter test failing to build with CMake.
Jamfile parser created incorrect test for fclose_deleter_test,
which resulted in a compiler error. Prevent the parser from creating
the test target by reformatting the Jamfile and create a CMake
target with proper dependencies.
2022-09-21 21:05:27 +03:00
Andrey Semashev 00f4f11f14 Added a check for NULL pointer in fclose_deleter.
The deleter can be called on a null pointer by shared_ptr.

Also added tests with unique_ptr from Boost.Move and shared_ptr
from Boost.SmartPtr.
2022-09-21 18:09:42 +03:00
Andrey Semashev 3510f6244b Added fclose_deleter.
fclose_deleter can be used as a deleter function object for std::FILE
pointers returned by std::fopen.
2022-09-21 13:50:22 +03:00
Peter Dimov 1fa592c9ec Add a deleted constructor from nullptr_t to string_view; closes #113 2022-09-18 13:53:55 +03:00
Andrey Semashev 162a4e1d24 Disabled warnings about deprecated builtins on clang-15.
The warnings are caused by Boost.TypeTraits:

https://github.com/boostorg/type_traits/issues/173
2022-09-10 02:49:25 +03:00
Glen Fernandes e3745b2072 Add constexpr support to empty_value 2022-08-06 21:20:55 -04:00
Glen Fernandes 45e5b1ebcf Add test around the MSVC defect 2022-05-14 00:51:05 -04:00
Glen Fernandes 4defdfd233 Add allocator_construct_n to allocator_access and deprecate alloc_construct 2022-03-12 10:45:05 -05:00
Glen Fernandes f326683d42 Add allocator_construct and allocator_destroy tests to Jamfile 2022-03-12 00:51:52 -05:00
Peter Dimov a32c1ee7ac Disable test under CMake, CTest doesn't like crashing tests 2022-02-15 06:49:46 +02:00
Peter Dimov 622b7a398a Add core/verbose_terminate_handler.hpp 2022-02-15 06:49:46 +02:00
Peter Dimov 6a5f726602 Add splitmix64_test.cpp 2022-02-08 22:48:01 +02:00
Peter Dimov b38c148969 Enable -pedantic for the cmath.hpp and bit.hpp tests 2022-02-08 21:37:34 +02:00
Peter Dimov 392cc988dd Add sv_windows_h_test 2021-12-20 01:30:32 +02:00
Peter Dimov 0b9624d047 Add sv_common_reference_test2 2021-12-18 18:53:42 +02:00
Peter Dimov 28d26d13f1 Add sv_common_reference_test 2021-12-18 07:34:16 +02:00
Peter Dimov 7a79d17da2 Add conversions from and to boost::string_view 2021-12-18 04:15:06 +02:00
Glen Fernandes 0e62373aa2 Make pointer_traits SFINAE friendly 2021-12-13 13:13:12 -05:00
Glen Fernandes febc195093 Add default_allocator allocate hint overload in C++03 mode 2021-12-04 14:41:23 -05:00
Glen Fernandes c8b989d80b Add allocator_traits that uses allocator_access 2021-12-03 23:55:40 -05:00
Peter Dimov ef3505db59 Disable -Wtype-limits for g++ 4.4 in Jamfile 2021-11-01 04:44:07 +02:00
Peter Dimov f09ab90243 Disable -Wsign-compare for g++ 4.4 2021-11-01 03:14:53 +02:00
Peter Dimov bb99544852 Use warnings-as-errors=off for compile-fail tests 2021-11-01 01:35:57 +02:00
Peter Dimov 9d1b59ec6c Enable warnings=extra, warnings-as-errors=on 2021-11-01 01:24:02 +02:00
Glen Fernandes 12f5f51427 Switch tests to not rely on requires checks 2021-10-27 01:41:40 -04:00
Peter Dimov d5bd40e528 Update test/Jamfile and test/CMakeLists.txt so that missing dependencies are caught 2021-10-16 18:10:13 +03:00
Glen Fernandes fdf1ed78a7 Contribute span implementation 2021-10-14 21:16:19 -04:00
Peter Dimov ddf9b5087b Add sv_conversion_test 2021-10-09 18:36:05 +03:00
Peter Dimov c8b860704e Add sv_stream_insert_test 2021-10-09 17:36:06 +03:00
Peter Dimov a121d5a000 Add sv_lt_test 2021-10-09 17:09:23 +03:00
Peter Dimov db15c7419d Add sv_eq_test 2021-10-09 16:50:14 +03:00
Peter Dimov a51364c5d3 sv_find_last_not_of_test 2021-10-09 03:33:10 +03:00
Peter Dimov ab3950fdfb Add sv_find_first_not_of_test 2021-10-09 03:09:32 +03:00
Peter Dimov fe9c0164c0 Add sv_find_last_of_test 2021-10-09 02:32:00 +03:00
Peter Dimov d1ad50cefb Add sv_contains_test 2021-10-08 05:50:00 +03:00
Peter Dimov 09870f0739 Add sv_find_first_of_test 2021-10-08 05:39:24 +03:00
Peter Dimov 673e3c302c Add sv_rfind_test 2021-10-06 05:49:09 +03:00
Peter Dimov a8e7a3395e Add sv_iteration_test 2021-10-06 05:36:12 +03:00
Peter Dimov 09044f58d6 Add sv_find_test 2021-10-06 05:04:32 +03:00
Peter Dimov f9fa1772f2 Add sv_ends_with_test 2021-10-06 04:39:16 +03:00
Peter Dimov c7dfa29f29 Add sv_starts_with_test 2021-10-06 04:38:27 +03:00
Peter Dimov c005ad5e55 Merge branch 'develop' into feature/string-view 2021-10-06 03:32:05 +03:00
Peter Dimov 8cf4d16297 Merge branch 'feature/type-name' into feature/lwt-type-name 2021-10-05 19:47:11 +03:00
Peter Dimov 3ec157eb6f Disable cmath_test_generic on msvc-8.0 2021-10-05 19:16:24 +03:00
Peter Dimov 87c21a23bb Update copyright 2021-10-05 17:32:50 +03:00
Peter Dimov 3e9cc2153b Disable no-rtti tests for g++ 4.4 because <memory> breaks 2021-10-05 17:11:31 +03:00
Peter Dimov 31e2caef12 Add sv_compare_test 2021-10-04 22:11:14 +03:00
Peter Dimov 042bb98142 Add sv_substr_test 2021-10-04 20:57:10 +03:00
Peter Dimov c65c05c006 Add sv_copy_test 2021-10-04 20:45:10 +03:00
Peter Dimov 1aa8341bd7 Add sv_modifiers_test 2021-10-04 20:36:40 +03:00