diff --git a/AMMBid_8cpp_source.html b/AMMBid_8cpp_source.html index efad45a434..8ed4cda590 100644 --- a/AMMBid_8cpp_source.html +++ b/AMMBid_8cpp_source.html @@ -475,7 +475,7 @@ $(function() {
ripple::ApplyContext::view
ApplyView & view()
Definition: ApplyContext.h:78
ripple::ApplyContext::journal
beast::Journal const journal
Definition: ApplyContext.h:75
ripple::ApplyContext::tx
STTx const & tx
Definition: ApplyContext.h:72
-
ripple::Expected
Definition: Expected.h:142
+
ripple::Expected
Definition: Expected.h:132
ripple::Issue
A currency issued by an account.
Definition: Issue.h:33
ripple::Number
Definition: Number.h:36
ripple::ReadView::read
virtual std::shared_ptr< SLE const > read(Keylet const &k) const =0
Return the state item associated with a key.
@@ -494,7 +494,7 @@ $(function() {
ripple::Transactor::account_
AccountID const account_
Definition: Transactor.h:143
ripple::Transactor::j_
beast::Journal const j_
Definition: Transactor.h:141
ripple::Transactor::ctx_
ApplyContext & ctx_
Definition: Transactor.h:140
-
ripple::Unexpected
Definition: Expected.h:92
+
ripple::Unexpected
Definition: Expected.h:82
ripple::base_uint< 160, detail::AccountIDTag >
ripple::detail::ApplyViewBase::update
void update(std::shared_ptr< SLE > const &sle) override
Indicate changes to a peeked SLE.
Definition: ApplyViewBase.cpp:145
ripple::detail::ApplyViewBase::read
std::shared_ptr< SLE const > read(Keylet const &k) const override
Return the state item associated with a key.
Definition: ApplyViewBase.cpp:70
diff --git a/AMMInfo_8cpp_source.html b/AMMInfo_8cpp_source.html index 22ec24c12e..61783514ac 100644 --- a/AMMInfo_8cpp_source.html +++ b/AMMInfo_8cpp_source.html @@ -357,11 +357,11 @@ $(function() {
Json::Value::isMember
bool isMember(char const *key) const
Return true if the object has a member named key.
Definition: json_value.cpp:962
beast::Journal
A generic endpoint for log messages.
Definition: Journal.h:60
beast::Journal::debug
Stream debug() const
Definition: Journal.h:328
-
ripple::Expected
Definition: Expected.h:142
+
ripple::Expected
Definition: Expected.h:132
ripple::Issue
A currency issued by an account.
Definition: Issue.h:33
ripple::LedgerMaster::isValidated
bool isValidated(ReadView const &ledger)
Definition: LedgerMaster.cpp:499
ripple::STObject
Definition: STObject.h:57
-
ripple::Unexpected
Definition: Expected.h:92
+
ripple::Unexpected
Definition: Expected.h:82
ripple::base_uint< 160, detail::AccountIDTag >
std::chrono::duration
Json::arrayValue
@ arrayValue
array value (ordered list)
Definition: json_value.h:44
diff --git a/AMMUtils_8cpp_source.html b/AMMUtils_8cpp_source.html index b48efbe331..e2c9fe78e2 100644 --- a/AMMUtils_8cpp_source.html +++ b/AMMUtils_8cpp_source.html @@ -609,7 +609,7 @@ $(function() {
ripple::STObject::setFieldU32
void setFieldU32(SField const &field, std::uint32_t)
Definition: STObject.cpp:741
ripple::STObject::peekAtField
STBase const & peekAtField(SField const &field) const
Definition: STObject.cpp:429
ripple::Sandbox
Discardable, editable view to a ledger.
Definition: Sandbox.h:35
-
ripple::Unexpected
Definition: Expected.h:92
+
ripple::Unexpected
Definition: Expected.h:82
ripple::base_uint< 160, detail::AccountIDTag >
ripple::detail::ApplyViewBase::erase
void erase(std::shared_ptr< SLE > const &sle) override
Remove a peeked SLE.
Definition: ApplyViewBase.cpp:133
ripple::detail::ApplyViewBase::update
void update(std::shared_ptr< SLE > const &sle) override
Indicate changes to a peeked SLE.
Definition: ApplyViewBase.cpp:145
diff --git a/AmendmentTable__test_8cpp_source.html b/AmendmentTable__test_8cpp_source.html index 37a298afaa..496ea33fd1 100644 --- a/AmendmentTable__test_8cpp_source.html +++ b/AmendmentTable__test_8cpp_source.html @@ -1468,7 +1468,7 @@ $(function() {
std::set::insert
T insert(T... args)
std::map
std::memcpy
T memcpy(T... args)
-
beast::hash_append
std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
Definition: hash_append.h:259
+
beast::hash_append
std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
Definition: hash_append.h:234
ripple::test::jtx::envconfig
std::unique_ptr< Config > envconfig()
creates and initializes a default configuration for jtx::Env
Definition: envconfig.h:54
ripple::test::jtx::testable_amendments
FeatureBitset testable_amendments()
Definition: Env.h:74
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition: algorithm.h:25
diff --git a/Book_8h_source.html b/Book_8h_source.html index f195f6640d..b6a9bc19db 100644 --- a/Book_8h_source.html +++ b/Book_8h_source.html @@ -281,7 +281,7 @@ $(function() {
ripple::base_uint< 256 >::hasher
hardened_hash<> hasher
Value hashing function.
Definition: base_uint.h:170
ripple::hardened_hash
Seed functor once per construction.
Definition: hardened_hash.h:93
std::hash
-
beast::hash_append
std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
Definition: hash_append.h:259
+
beast::hash_append
std::enable_if_t< is_contiguously_hashable< T, Hasher >::value > hash_append(Hasher &h, T const &t) noexcept
Logically concatenate input data to a Hasher.
Definition: hash_append.h:234
boost
Definition: IPAddress.h:101
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition: algorithm.h:25
ripple::hash_append
void hash_append(Hasher &h, Slice const &v)
Definition: Slice.h:199
diff --git a/Expected_8h_source.html b/Expected_8h_source.html index 420fee31ab..1dfc692d3c 100644 --- a/Expected_8h_source.html +++ b/Expected_8h_source.html @@ -100,268 +100,258 @@ $(function() {
22
23#include <xrpl/basics/contract.h>
24
-
25#if defined(__clang__)
-
26#pragma clang diagnostic push
-
27#pragma clang diagnostic ignored "-Wdeprecated"
-
28#pragma clang diagnostic ignored "-Wdeprecated-declarations"
-
29#endif
+
25#include <boost/outcome.hpp>
+
26
+
27#include <stdexcept>
+
28
+
29namespace ripple {
30
-
31#include <boost/outcome.hpp>
-
32
-
33#if defined(__clang__)
-
34#pragma clang diagnostic pop
-
35#endif
-
36
-
37#include <stdexcept>
-
38
-
39namespace ripple {
-
40
-
48// Exception thrown by an invalid access to Expected.
-
49struct bad_expected_access : public std::runtime_error
+
38// Exception thrown by an invalid access to Expected.
+
39struct bad_expected_access : public std::runtime_error
+
40{
+
41 bad_expected_access() : runtime_error("bad expected access")
+
42 {
+
43 }
+
44};
+
45
+
46namespace detail {
+
47
+
48// Custom policy for Expected. Always throw on an invalid access.
+
49struct throw_policy : public boost::outcome_v2::policy::base
50{
-
51 bad_expected_access() : runtime_error("bad expected access")
-
52 {
-
53 }
-
54};
-
55
-
56namespace detail {
-
57
-
58// Custom policy for Expected. Always throw on an invalid access.
-
59struct throw_policy : public boost::outcome_v2::policy::base
-
60{
-
61 template <class Impl>
-
62 static constexpr void
-
63 wide_value_check(Impl&& self)
-
64 {
-
65 if (!base::_has_value(std::forward<Impl>(self)))
-
66 Throw<bad_expected_access>();
-
67 }
-
68
-
69 template <class Impl>
-
70 static constexpr void
-
71 wide_error_check(Impl&& self)
-
72 {
-
73 if (!base::_has_error(std::forward<Impl>(self)))
-
74 Throw<bad_expected_access>();
-
75 }
-
76
-
77 template <class Impl>
-
78 static constexpr void
-
79 wide_exception_check(Impl&& self)
-
80 {
-
81 if (!base::_has_exception(std::forward<Impl>(self)))
-
82 Throw<bad_expected_access>();
-
83 }
-
84};
+
51 template <class Impl>
+
52 static constexpr void
+
53 wide_value_check(Impl&& self)
+
54 {
+
55 if (!base::_has_value(std::forward<Impl>(self)))
+
56 Throw<bad_expected_access>();
+
57 }
+
58
+
59 template <class Impl>
+
60 static constexpr void
+
61 wide_error_check(Impl&& self)
+
62 {
+
63 if (!base::_has_error(std::forward<Impl>(self)))
+
64 Throw<bad_expected_access>();
+
65 }
+
66
+
67 template <class Impl>
+
68 static constexpr void
+
69 wide_exception_check(Impl&& self)
+
70 {
+
71 if (!base::_has_exception(std::forward<Impl>(self)))
+
72 Throw<bad_expected_access>();
+
73 }
+
74};
+
75
+
76} // namespace detail
+
77
+
78// Definition of Unexpected, which is used to construct the unexpected
+
79// return type of an Expected.
+
80template <class E>
+
81class Unexpected
+
82{
+
83public:
+
84 static_assert(!std::is_same<E, void>::value, "E must not be void");
85
-
86} // namespace detail
+
86 Unexpected() = delete;
87
-
88// Definition of Unexpected, which is used to construct the unexpected
-
89// return type of an Expected.
-
90template <class E>
-
91class Unexpected
-
92{
-
93public:
-
94 static_assert(!std::is_same<E, void>::value, "E must not be void");
+
88 constexpr explicit Unexpected(E const& e) : val_(e)
+
89 {
+
90 }
+
91
+
92 constexpr explicit Unexpected(E&& e) : val_(std::move(e))
+
93 {
+
94 }
95
-
96 Unexpected() = delete;
-
97
-
98 constexpr explicit Unexpected(E const& e) : val_(e)
-
99 {
+
96 constexpr E const&
+
97 value() const&
+
98 {
+
99 return val_;
100 }
101
-
102 constexpr explicit Unexpected(E&& e) : val_(std::move(e))
-
103 {
-
104 }
-
105
-
106 constexpr E const&
-
107 value() const&
-
108 {
-
109 return val_;
-
110 }
-
111
-
112 constexpr E&
-
113 value() &
-
114 {
-
115 return val_;
-
116 }
-
117
-
118 constexpr E&&
-
119 value() &&
-
120 {
-
121 return std::move(val_);
-
122 }
+
102 constexpr E&
+
103 value() &
+
104 {
+
105 return val_;
+
106 }
+
107
+
108 constexpr E&&
+
109 value() &&
+
110 {
+
111 return std::move(val_);
+
112 }
+
113
+
114 constexpr E const&&
+
115 value() const&&
+
116 {
+
117 return std::move(val_);
+
118 }
+
119
+
120private:
+
121 E val_;
+
122};
123
-
124 constexpr E const&&
-
125 value() const&&
-
126 {
-
127 return std::move(val_);
-
128 }
-
129
-
130private:
-
131 E val_;
-
132};
-
133
-
134// Unexpected deduction guide that converts array to const*.
-
135template <typename E, std::size_t N>
-
136Unexpected(E (&)[N]) -> Unexpected<E const*>;
-
137
-
138// Definition of Expected. All of the machinery comes from boost::result.
-
139template <class T, class E>
-
140class [[nodiscard]] Expected
-
141 : private boost::outcome_v2::result<T, E, detail::throw_policy>
-
142{
-
143 using Base = boost::outcome_v2::result<T, E, detail::throw_policy>;
-
144
-
145public:
-
146 template <typename U>
-
147 requires std::convertible_to<U, T>
-
148 constexpr Expected(U&& r)
-
149 : Base(boost::outcome_v2::in_place_type_t<T>{}, std::forward<U>(r))
-
150 {
-
151 }
-
152
-
153 template <typename U>
-
154 requires std::convertible_to<U, E> && (!std::is_reference_v<U>)
-
155 constexpr Expected(Unexpected<U> e)
-
156 : Base(boost::outcome_v2::in_place_type_t<E>{}, std::move(e.value()))
-
157 {
-
158 }
-
159
-
160 constexpr bool
-
161 has_value() const
-
162 {
-
163 return Base::has_value();
-
164 }
-
165
-
166 constexpr T const&
-
167 value() const
-
168 {
-
169 return Base::value();
-
170 }
-
171
-
172 constexpr T&
-
173 value()
-
174 {
-
175 return Base::value();
-
176 }
-
177
-
178 constexpr E const&
-
179 error() const
-
180 {
-
181 return Base::error();
-
182 }
-
183
-
184 constexpr E&
-
185 error()
-
186 {
-
187 return Base::error();
-
188 }
-
189
-
190 constexpr explicit
-
191 operator bool() const
-
192 {
-
193 return has_value();
-
194 }
-
195
-
196 // Add operator* and operator-> so the Expected API looks a bit more like
-
197 // what std::expected is likely to look like. See:
-
198 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0323r10.html
-
199 [[nodiscard]] constexpr T&
-
200 operator*()
-
201 {
-
202 return this->value();
-
203 }
-
204
-
205 [[nodiscard]] constexpr T const&
-
206 operator*() const
-
207 {
-
208 return this->value();
-
209 }
-
210
-
211 [[nodiscard]] constexpr T*
-
212 operator->()
-
213 {
-
214 return &this->value();
-
215 }
-
216
-
217 [[nodiscard]] constexpr T const*
-
218 operator->() const
-
219 {
-
220 return &this->value();
-
221 }
-
222};
-
223
-
224// Specialization of Expected<void, E>. Allows returning either success
-
225// (without a value) or the reason for the failure.
-
226template <class E>
-
227class [[nodiscard]] Expected<void, E>
-
228 : private boost::outcome_v2::result<void, E, detail::throw_policy>
-
229{
-
230 using Base = boost::outcome_v2::result<void, E, detail::throw_policy>;
-
231
-
232public:
-
233 // The default constructor makes a successful Expected<void, E>.
-
234 // This aligns with std::expected behavior proposed in P0323R10.
-
235 constexpr Expected() : Base(boost::outcome_v2::success())
-
236 {
-
237 }
-
238
-
239 template <typename U>
-
240 requires std::convertible_to<U, E> && (!std::is_reference_v<U>)
-
241 constexpr Expected(Unexpected<U> e) : Base(E(std::move(e.value())))
-
242 {
-
243 }
-
244
-
245 constexpr E const&
-
246 error() const
-
247 {
-
248 return Base::error();
-
249 }
-
250
-
251 constexpr E&
-
252 error()
-
253 {
-
254 return Base::error();
-
255 }
-
256
-
257 constexpr explicit
-
258 operator bool() const
-
259 {
-
260 return Base::has_value();
-
261 }
-
262};
-
263
-
264} // namespace ripple
-
265
-
266#endif // RIPPLE_BASICS_EXPECTED_H_INCLUDED
-
ripple::Expected< void, E >::error
constexpr E const & error() const
Definition: Expected.h:246
-
ripple::Expected< void, E >::Expected
constexpr Expected(Unexpected< U > e)
Definition: Expected.h:241
-
ripple::Expected< void, E >::error
constexpr E & error()
Definition: Expected.h:252
-
ripple::Expected< void, E >::Base
boost::outcome_v2::result< void, E, detail::throw_policy > Base
Definition: Expected.h:230
-
ripple::Expected< void, E >::Expected
constexpr Expected()
Definition: Expected.h:235
-
ripple::Expected
Definition: Expected.h:142
-
ripple::Expected::operator->
constexpr T const * operator->() const
Definition: Expected.h:218
-
ripple::Expected::value
constexpr T const & value() const
Definition: Expected.h:167
-
ripple::Expected::has_value
constexpr bool has_value() const
Definition: Expected.h:161
-
ripple::Expected::operator*
constexpr T const & operator*() const
Definition: Expected.h:206
-
ripple::Expected::error
constexpr E const & error() const
Definition: Expected.h:179
-
ripple::Expected::value
constexpr T & value()
Definition: Expected.h:173
-
ripple::Expected::Expected
constexpr Expected(Unexpected< U > e)
Definition: Expected.h:155
-
ripple::Expected::Base
boost::outcome_v2::result< T, E, detail::throw_policy > Base
Definition: Expected.h:143
-
ripple::Expected::error
constexpr E & error()
Definition: Expected.h:185
-
ripple::Expected::operator*
constexpr T & operator*()
Definition: Expected.h:200
-
ripple::Expected::Expected
constexpr Expected(U &&r)
Definition: Expected.h:148
-
ripple::Expected::operator->
constexpr T * operator->()
Definition: Expected.h:212
-
ripple::Unexpected
Definition: Expected.h:92
-
ripple::Unexpected::val_
E val_
Definition: Expected.h:131
-
ripple::Unexpected::value
constexpr E && value() &&
Definition: Expected.h:119
-
ripple::Unexpected::Unexpected
constexpr Unexpected(E const &e)
Definition: Expected.h:98
-
ripple::Unexpected::value
constexpr E const && value() const &&
Definition: Expected.h:125
+
124// Unexpected deduction guide that converts array to const*.
+
125template <typename E, std::size_t N>
+
126Unexpected(E (&)[N]) -> Unexpected<E const*>;
+
127
+
128// Definition of Expected. All of the machinery comes from boost::result.
+
129template <class T, class E>
+
130class [[nodiscard]] Expected
+
131 : private boost::outcome_v2::result<T, E, detail::throw_policy>
+
132{
+
133 using Base = boost::outcome_v2::result<T, E, detail::throw_policy>;
+
134
+
135public:
+
136 template <typename U>
+
137 requires std::convertible_to<U, T>
+
138 constexpr Expected(U&& r)
+
139 : Base(boost::outcome_v2::in_place_type_t<T>{}, std::forward<U>(r))
+
140 {
+
141 }
+
142
+
143 template <typename U>
+
144 requires std::convertible_to<U, E> && (!std::is_reference_v<U>)
+
145 constexpr Expected(Unexpected<U> e)
+
146 : Base(boost::outcome_v2::in_place_type_t<E>{}, std::move(e.value()))
+
147 {
+
148 }
+
149
+
150 constexpr bool
+
151 has_value() const
+
152 {
+
153 return Base::has_value();
+
154 }
+
155
+
156 constexpr T const&
+
157 value() const
+
158 {
+
159 return Base::value();
+
160 }
+
161
+
162 constexpr T&
+
163 value()
+
164 {
+
165 return Base::value();
+
166 }
+
167
+
168 constexpr E const&
+
169 error() const
+
170 {
+
171 return Base::error();
+
172 }
+
173
+
174 constexpr E&
+
175 error()
+
176 {
+
177 return Base::error();
+
178 }
+
179
+
180 constexpr explicit
+
181 operator bool() const
+
182 {
+
183 return has_value();
+
184 }
+
185
+
186 // Add operator* and operator-> so the Expected API looks a bit more like
+
187 // what std::expected is likely to look like. See:
+
188 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2021/p0323r10.html
+
189 [[nodiscard]] constexpr T&
+
190 operator*()
+
191 {
+
192 return this->value();
+
193 }
+
194
+
195 [[nodiscard]] constexpr T const&
+
196 operator*() const
+
197 {
+
198 return this->value();
+
199 }
+
200
+
201 [[nodiscard]] constexpr T*
+
202 operator->()
+
203 {
+
204 return &this->value();
+
205 }
+
206
+
207 [[nodiscard]] constexpr T const*
+
208 operator->() const
+
209 {
+
210 return &this->value();
+
211 }
+
212};
+
213
+
214// Specialization of Expected<void, E>. Allows returning either success
+
215// (without a value) or the reason for the failure.
+
216template <class E>
+
217class [[nodiscard]] Expected<void, E>
+
218 : private boost::outcome_v2::result<void, E, detail::throw_policy>
+
219{
+
220 using Base = boost::outcome_v2::result<void, E, detail::throw_policy>;
+
221
+
222public:
+
223 // The default constructor makes a successful Expected<void, E>.
+
224 // This aligns with std::expected behavior proposed in P0323R10.
+
225 constexpr Expected() : Base(boost::outcome_v2::success())
+
226 {
+
227 }
+
228
+
229 template <typename U>
+
230 requires std::convertible_to<U, E> && (!std::is_reference_v<U>)
+
231 constexpr Expected(Unexpected<U> e) : Base(E(std::move(e.value())))
+
232 {
+
233 }
+
234
+
235 constexpr E const&
+
236 error() const
+
237 {
+
238 return Base::error();
+
239 }
+
240
+
241 constexpr E&
+
242 error()
+
243 {
+
244 return Base::error();
+
245 }
+
246
+
247 constexpr explicit
+
248 operator bool() const
+
249 {
+
250 return Base::has_value();
+
251 }
+
252};
+
253
+
254} // namespace ripple
+
255
+
256#endif // RIPPLE_BASICS_EXPECTED_H_INCLUDED
+
ripple::Expected< void, E >::error
constexpr E const & error() const
Definition: Expected.h:236
+
ripple::Expected< void, E >::Expected
constexpr Expected(Unexpected< U > e)
Definition: Expected.h:231
+
ripple::Expected< void, E >::error
constexpr E & error()
Definition: Expected.h:242
+
ripple::Expected< void, E >::Base
boost::outcome_v2::result< void, E, detail::throw_policy > Base
Definition: Expected.h:220
+
ripple::Expected< void, E >::Expected
constexpr Expected()
Definition: Expected.h:225
+
ripple::Expected
Definition: Expected.h:132
+
ripple::Expected::operator->
constexpr T const * operator->() const
Definition: Expected.h:208
+
ripple::Expected::value
constexpr T const & value() const
Definition: Expected.h:157
+
ripple::Expected::has_value
constexpr bool has_value() const
Definition: Expected.h:151
+
ripple::Expected::operator*
constexpr T const & operator*() const
Definition: Expected.h:196
+
ripple::Expected::error
constexpr E const & error() const
Definition: Expected.h:169
+
ripple::Expected::value
constexpr T & value()
Definition: Expected.h:163
+
ripple::Expected::Expected
constexpr Expected(Unexpected< U > e)
Definition: Expected.h:145
+
ripple::Expected::Base
boost::outcome_v2::result< T, E, detail::throw_policy > Base
Definition: Expected.h:133
+
ripple::Expected::error
constexpr E & error()
Definition: Expected.h:175
+
ripple::Expected::operator*
constexpr T & operator*()
Definition: Expected.h:190
+
ripple::Expected::Expected
constexpr Expected(U &&r)
Definition: Expected.h:138
+
ripple::Expected::operator->
constexpr T * operator->()
Definition: Expected.h:202
+
ripple::Unexpected
Definition: Expected.h:82
+
ripple::Unexpected::val_
E val_
Definition: Expected.h:121
+
ripple::Unexpected::value
constexpr E && value() &&
Definition: Expected.h:109
+
ripple::Unexpected::Unexpected
constexpr Unexpected(E const &e)
Definition: Expected.h:88
+
ripple::Unexpected::value
constexpr E const && value() const &&
Definition: Expected.h:115
ripple::Unexpected::Unexpected
Unexpected()=delete
-
ripple::Unexpected::value
constexpr E const & value() const &
Definition: Expected.h:107
-
ripple::Unexpected::Unexpected
constexpr Unexpected(E &&e)
Definition: Expected.h:102
-
ripple::Unexpected::value
constexpr E & value() &
Definition: Expected.h:113
+
ripple::Unexpected::value
constexpr E const & value() const &
Definition: Expected.h:97
+
ripple::Unexpected::Unexpected
constexpr Unexpected(E &&e)
Definition: Expected.h:92
+
ripple::Unexpected::value
constexpr E & value() &
Definition: Expected.h:103
std::is_same
boost
Definition: IPAddress.h:101
ripple
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition: algorithm.h:25
@@ -369,12 +359,12 @@ $(function() {
std
STL namespace.
std::runtime_error
stdexcept
-
ripple::bad_expected_access
Expected is an approximation of std::expected (hoped for in C++23)
Definition: Expected.h:50
-
ripple::bad_expected_access::bad_expected_access
bad_expected_access()
Definition: Expected.h:51
-
ripple::detail::throw_policy
Definition: Expected.h:60
-
ripple::detail::throw_policy::wide_exception_check
static constexpr void wide_exception_check(Impl &&self)
Definition: Expected.h:79
-
ripple::detail::throw_policy::wide_value_check
static constexpr void wide_value_check(Impl &&self)
Definition: Expected.h:63
-
ripple::detail::throw_policy::wide_error_check
static constexpr void wide_error_check(Impl &&self)
Definition: Expected.h:71
+
ripple::bad_expected_access
Expected is an approximation of std::expected (hoped for in C++23)
Definition: Expected.h:40
+
ripple::bad_expected_access::bad_expected_access
bad_expected_access()
Definition: Expected.h:41
+
ripple::detail::throw_policy
Definition: Expected.h:50
+
ripple::detail::throw_policy::wide_exception_check
static constexpr void wide_exception_check(Impl &&self)
Definition: Expected.h:69
+
ripple::detail::throw_policy::wide_value_check
static constexpr void wide_value_check(Impl &&self)
Definition: Expected.h:53
+
ripple::detail::throw_policy::wide_error_check
static constexpr void wide_error_check(Impl &&self)
Definition: Expected.h:61