Peter Dimov
|
2db6b8e595
|
Add unwrap_and_invoke.hpp to boost/system.hpp
|
2026-03-03 19:36:13 +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
|
9c1c586a32
|
Add detail::is_aggregate
|
2026-02-25 16:52:10 +02:00 |
|
Peter Dimov
|
fa3babf4e6
|
Add unwrap_and_construct
|
2026-02-25 14:10:14 +02:00 |
|
Peter Dimov
|
af53bce037
|
Add unwrap_and_invoke.hpp
|
2026-02-24 18:59:48 +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
|
7d36e164f2
|
Disable C++20 constexpr for Clang 10
|
2026-02-15 21:13:53 +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 |
|
David McFarland
|
d8b8483326
|
Use BOOST_POSIX_API on cygwin.
|
2025-12-18 10:04:35 -04: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
|
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
|
7a49a5d80d
|
Change assertions in operator* to match documentation; improves codegen slightly in the result<U&> case
|
2025-02-24 19:46:43 +02:00 |
|
Ion Gaztañaga
|
6d58d0bb76
|
Update system_category_message_win32.hpp
Fixes for Wsign-conversion with MinGW64 ("conversion to 'DWORD' {aka 'long unsigned int'} from 'int' may change the sign of the result")
|
2024-08-19 01:10:16 +02:00 |
|
Peter Dimov
|
41ff095c0a
|
Try to fix the false positive with GCC ASAN
|
2024-06-03 02:40:13 +03:00 |
|
Peter Dimov
|
38d63aaf7c
|
strerror_r(ev, tmp, 0) may return tmp
|
2024-06-02 23:03:24 +03:00 |
|
Mohammad Nejati
|
4d4f906548
|
strerror_r requires non-null buffer pointer
Fixes -Wnonnull warnings when calling message with a nullptr buffer
|
2024-06-02 18:21:07 +00: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 |
|
Klemens Morgenstern
|
f6fcb1b690
|
declared global constants as inline with BOOST_INLINE_CONSTEXPR
|
2024-04-06 21:54:33 +08: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 |
|
Peter Dimov
|
c7a0ce3349
|
Enable result<void> &= fr. Refs #117.
|
2024-02-01 02:39:31 +02:00 |
|
Peter Dimov
|
293174a1d3
|
Enable result<void> & fr. Refs #117.
|
2024-01-31 05:36:52 +02:00 |
|
Peter Dimov
|
5c1d0df893
|
Enable result<void> & fv. Refs #117.
|
2024-01-31 05:26:01 +02:00 |
|
Peter Dimov
|
a5aec941ca
|
Remove boost/system/cygwin_error.hpp
|
2024-01-18 20:21:45 +02:00 |
|
Peter Dimov
|
ff47c6782f
|
Include and test unconditionally result.hpp
|
2024-01-17 07:17:30 +02:00 |
|
Peter Dimov
|
abbfd46517
|
Remove uses of BOOST_NOEXCEPT
|
2024-01-17 07:14:05 +02:00 |
|
Peter Dimov
|
128fd9341f
|
Remove uses of BOOST_CONSTEXPR
|
2024-01-17 07:09:31 +02:00 |
|
Peter Dimov
|
3ded81eed0
|
Remove uses of BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
2024-01-17 06:49:19 +02:00 |
|
Peter Dimov
|
80e019069c
|
Use snprintf in error_category_impl.hpp
|
2024-01-17 05:18:23 +02:00 |
|
Peter Dimov
|
00fb79f174
|
Remove requires_cxx11.hpp
|
2024-01-17 04:47:46 +02:00 |
|
Peter Dimov
|
44582f3c3c
|
Use std::snprintf in detail/snprintf.hpp
|
2024-01-17 04:34:11 +02:00 |
|
Peter Dimov
|
f08e363c0e
|
Use std::is_same in detail/is_same.hpp
|
2024-01-17 04:33:14 +02:00 |
|
Peter Dimov
|
1474498ccf
|
Use std::enable_if in detail/enable_if.hpp
|
2024-01-17 04:32:29 +02:00 |
|
Peter Dimov
|
945b0591dd
|
Unconditionally enable BOOST_SYSTEM_HAS_SYSTEM_ERROR
|
2024-01-17 04:14:23 +02:00 |
|
Peter Dimov
|
1a0b9a46a8
|
Remove static_assert workaround
|
2024-01-17 04:12:13 +02:00 |
|
Peter Dimov
|
f132dca4a9
|
Remove =default/=delete workarounds
|
2024-01-17 04:11:19 +02:00 |
|
Peter Dimov
|
81a9952695
|
Remove BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS workarounds
|
2024-01-17 03:57:53 +02:00 |
|
Peter Dimov
|
2aa5d4d97f
|
Add definitions of ::in_place_* for result specializations. Fixes #115.
|
2023-12-15 03:17:21 +02:00 |
|
Peter Dimov
|
52220a0351
|
Add definitions of result<T, E>::in_place_*. Refs #115.
|
2023-12-15 02:24:18 +02:00 |
|
Peter Dimov
|
d11dd4b396
|
Add operator&=( result&, unary-returning-result )
|
2023-10-31 03:08:02 +02:00 |
|
Peter Dimov
|
ca5bca39ce
|
Add operator&=( result&, unary-returning-value )
|
2023-10-31 02:44:45 +02:00 |
|