mirror of
https://github.com/XRPLF/clio.git
synced 2025-11-20 11:45:53 +00:00
@@ -106,7 +106,7 @@ public:
|
||||
* @param requirements The requirements to validate against
|
||||
*/
|
||||
template <SomeRequirement... Requirements>
|
||||
IfType(Requirements&&... requirements)
|
||||
explicit IfType(Requirements&&... requirements)
|
||||
: processor_(
|
||||
[... r = std::forward<Requirements>(requirements
|
||||
)](boost::json::value& j, std::string_view key) -> MaybeError {
|
||||
@@ -133,6 +133,9 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
IfType(IfType const&) = default;
|
||||
IfType(IfType&&) = default;
|
||||
|
||||
/**
|
||||
* @brief Verify that the element is valid according to the stored requirements when type matches.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user