Christian Mazakas
008ff1c071
add operator new overloads to test Callables
...
When Callables are sufficiently small, they're emplaced into a small
buffer directly by placement new. If one, however, uses an unqualified
call to placement new, the class-based overloads are picked up and
compilation fails.
libs/compat/test/move_only_function_test.cpp:107:11: note: candidate
function not viable: requires 1 argument, but 2 were provided
107 | void* operator new(std::size_t) { throw 1234; }
2026-01-23 19:34:36 -08:00
Peter Dimov
e7098ce569
Bump MSVC < 1950 workarounds to < 1960; still unfixed. Sad!
2026-01-20 18:51:03 +02:00
Christian Mazakas
fbad5e0834
add test for in-place mutation of SBO-stored callables
2026-01-20 07:30:25 -08:00
Peter Dimov
904b80b8a1
Move nontype.hpp to detail
2025-11-18 14:33:45 +02:00
Peter Dimov
6b9e52c284
Rename detail::nontype11 to nttp_holder
2025-11-01 19:45:39 +02:00
Peter Dimov
1e3cb9cc7a
Disable tests that require noexcept function types to pass
2025-11-01 19:15:14 +02:00
Peter Dimov
1226bab251
Remove use of BOOST_COMPAT_HAS_AUTO_NTTP in function_ref_mfn_noexcept_test.cpp
2025-11-01 19:00:44 +02:00
Peter Dimov
f9dd6181fb
Remove use of BOOST_COMPAT_HAS_AUTO_NTTP in function_ref_mfn_test.cpp
2025-11-01 18:51:37 +02:00
Peter Dimov
8e7e16e9c3
Add nontype_test.cpp
2025-11-01 17:18:55 +02:00
Braden Ganetsky
94b1675762
Add to_underlying
2025-09-05 09:33:40 -05:00
Christian Mazakas
1a60e0357c
add move_only_function
2025-06-11 19:57:30 -07:00
Christian Mazakas
736b381d13
add failing test case
...
Passing an lvalue ref parameter when arguments are by-value causes a failure of reference binding.
2024-12-17 11:20:18 -08:00
Peter Dimov
c18e5f2276
Move MSVC workarounds from test/Jamfile to to_array_rvalue_test.cpp
2024-10-04 13:26:50 +03:00
Anarthal (Rubén Pérez)
d2d5cbe094
Added to_array ( #14 )
...
* Added to_array
* Suppress unused warnings
* Fix unused warnings (2)
* Workaround msvc 14.0 bug
* Workaround MSVC problems with moving arrays
* MSVC workaround in constexpr test
* Further MSVC fixes
* Disable rvalue tests for MSVC 14.0
* Incorrect argument spec
* constexpr checks
* const test
* Disable rvalues for msvc 14.1
* Docs
* Added more const tests
* Correct static_asserts
* Update type requirements in docs
* Corrected return types and conditions
* Doc updates
2024-10-04 13:06:44 +03:00
Peter Dimov
889d2608e6
Add VERBATIM to add_custom_target
2024-08-20 21:06:26 +03:00
Rene Rivera
e6d2faa267
Sync from upstream.
2024-07-12 08:55:45 -05:00
Christian Mazakas
8ed23dd6a7
implement pointer-to-member function_ref overloads
2024-06-21 07:57:36 -07:00
Christian Mazakas
b9f5082f6e
expand fn object function_ref tests
2024-06-20 11:28:10 -07:00
Peter Dimov
6a0f933b2e
Update BOOST_MSVC workarounds for msvc-14.3 19.40
2024-06-19 03:38:32 +03:00
Rene Rivera
6f8c2fe8c1
Add missing import-search for cconfig/predef checks.
2024-05-04 23:28:15 -05:00
Rene Rivera
e5f0043abc
Sync from upstream.
2024-04-28 20:36:12 -05:00
Peter Dimov
cc45f3198a
Disable -Warray-bounds on GCC when sanitization is on
2024-04-28 20:12:14 +03:00
Rene Rivera
d5cf9802bd
Add new lib dependencies.
2024-04-25 22:12:11 -05:00
Rene Rivera
28496a6a01
Sync from upstream.
2024-04-20 15:34:30 -05:00
Christian Mazakas
26e3edd0af
Add initial draft of function_ref
2024-04-17 09:40:34 -07:00
Rene Rivera
ed8837a4ff
Sync from upstream.
2024-04-10 07:58:31 -05:00
Peter Dimov
2bc168926b
Add is_nothrow_invocable_r
2024-04-06 22:20:25 +03:00
Peter Dimov
3025c1b929
Add is_invocable_r
2024-04-06 21:45:34 +03:00
Peter Dimov
04e6d2ce20
Remove unnecessary includes
2024-04-06 21:45:34 +03:00
Peter Dimov
8cfda56a62
Add constexpr tests for invoke_r
2024-04-06 21:45:19 +03:00
Peter Dimov
430c9b1b60
Add noexcept tests for invoke_r
2024-04-06 20:12:13 +03:00
Peter Dimov
984d6b39da
Add invoke_r
2024-04-06 19:03:58 +03:00
Peter Dimov
30242af2c2
Add constexpr tests for bind_back
2024-03-29 21:43:34 +02:00
Peter Dimov
9a58caf918
Add bind_back
2024-03-29 21:20:49 +02:00
Peter Dimov
28e71552eb
Add integer_sequence_test
2024-03-28 21:37:43 +02:00
Peter Dimov
39ddb40a47
Update test/quick.cpp
2024-03-28 21:13:31 +02:00
Peter Dimov
928f2d7255
Add bind_front_md_constexpr_test
2024-03-28 21:12:46 +02:00
Peter Dimov
5a5db4a74f
Add bind_front_mfn_constexpr_test
2024-03-28 21:12:46 +02:00
Peter Dimov
acd8c12e91
Add bind_front_obj_constexpr_test
2024-03-28 21:12:46 +02:00
Peter Dimov
710ea6a904
Add bind_front_fn_constexpr_test
2024-03-28 21:12:46 +02:00
Peter Dimov
a09b9b2c5a
Add bind_front_md_test
2024-03-28 21:12:46 +02:00
Peter Dimov
758b0c2ef9
Add bind_front_mfn_test
2024-03-28 21:12:46 +02:00
Peter Dimov
4ea967b756
Avoid bind_front_obj_test failure on GCC 4.8
2024-03-28 21:12:46 +02:00
Peter Dimov
d745abe3a3
Disable invoke_mfn_constexpr_test, invoke_md_constexpr_test for GCC 4.9 as well
2024-03-28 21:12:46 +02:00
Peter Dimov
abcc654046
Add bind_front_obj_test
2024-03-28 21:12:46 +02:00
Peter Dimov
b6deff5638
Update bind_front_fn_test
2024-03-28 21:12:46 +02:00
Peter Dimov
90e76cb4f4
Add bind_front
2024-03-28 21:12:45 +02:00
Peter Dimov
c290c03ea3
Merge branch 'master' into develop
2024-03-28 21:12:12 +02:00
Peter Dimov
56b776fc29
Update test/quick.cpp
2024-03-28 20:31:36 +02:00
Rene Rivera
0598dd0688
Sync from upstream.
2024-03-23 07:58:05 -05:00