Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
util::async::RValueNotSameAs Concept Reference

Check that T is an r-value and is not the same type as Erased. More...

#include <Concepts.hpp>

Concept definition

template<typename T, typename Erased>
concept RValueNotSameAs = requires(T&& t) {
requires std::is_rvalue_reference_v<decltype(t)>;
}
Checks that decayed T is not of the same type as Erased.
Definition Concepts.hpp:249
Check that T is an r-value and is not the same type as Erased.
Definition Concepts.hpp:258

Detailed Description

Check that T is an r-value and is not the same type as Erased.

Template Parameters
TThe type to check
ErasedThe type T must differ from after decay