Peter Dimov
|
8c935dc996
|
Fix unwrap_and_invoke for functions returning void. Fixes #145.
|
2026-05-31 14:34:01 +03:00 |
|
Peter Dimov
|
04ac86837c
|
Disable -Wformat-truncation in error_category_test(2).cpp under GCC 16
|
2026-04-30 19:29:54 +03:00 |
|
Peter Dimov
|
571076780e
|
Update cmake_install_test/CMakeLists.txt
|
2026-04-30 17:02:01 +03:00 |
|
Peter Dimov
|
026862285e
|
Disable -Wmissing-field-initializers in test/unwrap_and_construct2
|
2026-02-25 20:02:57 +02:00 |
|
Peter Dimov
|
f7408130d0
|
Members with initializers make a class non-aggregate in C++11
|
2026-02-25 19:31:23 +02:00 |
|
Peter Dimov
|
59b11b120d
|
Disable test/unwrap_and_construct2 when detail::is_aggregate isn't functional
|
2026-02-25 18:52:28 +02:00 |
|
Peter Dimov
|
8ce9b50730
|
Support aggregates in unwrap_and_construct
|
2026-02-25 18:19:49 +02:00 |
|
Peter Dimov
|
700f246dd3
|
Rename BOOST_SYSTEM_HAS_IS_AGGREGATE to BOOST_SYSTEM_HAS_BUILTIN_IS_AGGREGATE
|
2026-02-25 17:54:22 +02:00 |
|
Peter Dimov
|
78149b00c6
|
Disable detail_is_aggregate_test when detail::is_aggregate isn't functional
|
2026-02-25 17:52:23 +02:00 |
|
Peter Dimov
|
9c1c586a32
|
Add detail::is_aggregate
|
2026-02-25 16:52:10 +02:00 |
|
Peter Dimov
|
d9248a93ab
|
Placate GCC 4.x
|
2026-02-25 16:40:15 +02:00 |
|
Peter Dimov
|
fa3babf4e6
|
Add unwrap_and_construct
|
2026-02-25 14:10:14 +02:00 |
|
Peter Dimov
|
739179a494
|
Add test/unwrap_and_invoke2.cpp
|
2026-02-25 02:30:48 +02:00 |
|
Peter Dimov
|
ee43711c1c
|
std::make_unique is C++14
|
2026-02-24 20:03:04 +02:00 |
|
Peter Dimov
|
af53bce037
|
Add unwrap_and_invoke.hpp
|
2026-02-24 18:59:48 +02:00 |
|
Peter Dimov
|
eceff8b487
|
Apply Clang 3.5 workarounds properly in test/result_value_access
|
2026-02-21 12:17:20 +02:00 |
|
Peter Dimov
|
9ead4aeea9
|
Change operator* and operator-> to throw instead of having a precondition
|
2026-02-21 03:26:49 +02:00 |
|
Peter Dimov
|
0ff6989330
|
Add result<>::unsafe_value
|
2026-02-20 21:26:56 +02:00 |
|
Peter Dimov
|
3fe0eaec54
|
Disable result_error_construct_cx for Clang 5 and below
|
2026-02-16 02:28:56 +02:00 |
|
Peter Dimov
|
5fd72e7f0b
|
Add test/result_error_construct_cx2
|
2026-02-16 02:21:46 +02:00 |
|
Peter Dimov
|
7a3a343189
|
Add test/result_value_construct_cx, test/result_error_construct_cx
|
2026-02-16 02:06:41 +02:00 |
|
Peter Dimov
|
af53f17a27
|
Add constexpr to virtual functions on C++20 or later. Refs #141.
|
2026-02-15 19:28:43 +02:00 |
|
Andrey Semashev
|
1d00ab81c7
|
Remove dependencies on Boost.StaticAssert.
Boost.StaticAssert has been merged into Boost.Config, so replace
the dependency with Boost.Config.
|
2026-01-22 20:43:47 +03:00 |
|
Peter Dimov
|
982abbe42a
|
Remove local implementation of invoke; use Compat
|
2025-12-03 19:34:58 +02:00 |
|
Peter Dimov
|
7ec2584789
|
Enable pointers to members in r & f, where f returns result<>
|
2025-12-03 16:27:28 +02:00 |
|
Peter Dimov
|
dec785741b
|
Test const correctness of projection member functions in result_and_mfn1v.cpp
|
2025-12-03 16:06:50 +02:00 |
|
Peter Dimov
|
c8e1b9fa0b
|
Add data member pointer tests to result_and_mfn1v.cpp; decay return type of the projection when the lhs result is an rvalue
|
2025-12-03 15:42:21 +02:00 |
|
Peter Dimov
|
4d8f6f85cd
|
Enable pointers to members in r & f, where f returns a value
|
2025-12-03 13:55:15 +02:00 |
|
Peter Dimov
|
8bb3ce6277
|
Decay return type of r | f when r is result<T&> and f() returns T. Refs #128.
|
2025-12-01 02:46:30 +02:00 |
|
Peter Dimov
|
1b74658f57
|
Decay return type of r | x when r is result<T&>. Refs #128.
|
2025-12-01 02:11:53 +02:00 |
|
Peter Dimov
|
3e5ce27719
|
Add VERBATIM to add_custom_target
|
2024-08-28 03:02:08 +03:00 |
|
Peter Dimov
|
40bdcea2e5
|
Update build.jam, build/Jamfile, test/Jamfile
|
2024-08-28 02:10:03 +03:00 |
|
Rene Rivera
|
75e1a1e28b
|
Update build deps.
|
2024-08-09 20:26:47 -05:00 |
|
Rene Rivera
|
91929719bd
|
Change all <source> references to <library>.
|
2024-07-20 21:26:25 -05:00 |
|
Rene Rivera
|
671d0ad41b
|
Sync from upstream.
|
2024-06-02 23:25:04 -05:00 |
|
Peter Dimov
|
d1fb7554c5
|
Update error_code_test2, error_condition_test3
|
2024-06-02 22:41:48 +03:00 |
|
Peter Dimov
|
c63bca6eda
|
Update error_condition_test3.cpp
|
2024-06-02 22:33:43 +03:00 |
|
Peter Dimov
|
bef2c5ef6a
|
Update error_code_test2.cpp
|
2024-06-02 22:26:01 +03:00 |
|
Rene Rivera
|
341f960e72
|
Sync from upstream.
|
2024-06-02 13:49:02 -05:00 |
|
Mohammad Nejati
|
8a92683012
|
Add tests for calling message with nullptr buffer
|
2024-06-02 18:20:16 +00:00 |
|
Peter Dimov
|
be5a8ffa80
|
Disable -Wformat-truncation for Clang in snprintf_test
|
2024-06-02 19:45:18 +03:00 |
|
Rene Rivera
|
d09b2f5f1d
|
Sync from upstream.
|
2024-04-10 07:55:53 -05:00 |
|
Peter Dimov
|
01d46f597e
|
Update test/result_and_fn1v.cpp
|
2024-04-09 03:07:07 +03:00 |
|
Peter Dimov
|
93852d1a7e
|
Support result<void> &= fv. Refs #119.
|
2024-04-09 03:01:38 +03:00 |
|
Peter Dimov
|
96fef94580
|
Support result<void> & fv, where fv returns void. Refs #119.
|
2024-04-08 18:01:41 +03:00 |
|
Peter Dimov
|
75ab18c9fd
|
Support result<X> & fv, where fv returns void. Refs #119.
|
2024-04-08 17:55:50 +03:00 |
|
Rene Rivera
|
9cc66841c4
|
Make the library modular usable.
|
2024-03-11 08:38:16 -05:00 |
|
Peter Dimov
|
310bf1d544
|
Add operator|=(result&, fn0r)
|
2024-02-01 07:18:41 +02:00 |
|
Peter Dimov
|
f18edb3d24
|
Add operator|=(result&, fn0v)
|
2024-02-01 06:49:23 +02:00 |
|
Peter Dimov
|
a9659f4318
|
Add operator|=(result&, value)
|
2024-02-01 06:40:47 +02:00 |
|