We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2a6d6a commit 3cc14f5Copy full SHA for 3cc14f5
include/zeus/expected.hpp
@@ -1194,6 +1194,9 @@ class expected
1194
typedef E error_type;
1195
typedef unexpected<E> unexpected_type;
1196
1197
+ template<class U>
1198
+ using rebind = expected<U, error_type>;
1199
+
1200
// default constructors
1201
1202
constexpr expected() = default;
@@ -2143,6 +2146,9 @@ class expected<void, E>
2143
2146
2144
2147
2145
2148
2149
2150
2151
2152
2153
constexpr expected(const expected &rhs) = default;
2154
constexpr expected(expected &&rhs) = default;
0 commit comments