xieite::is_rref<>

Defined in header <xieite/trait/is_rref.hpp>

A wrapper for std::is_rvalue_reference_v<>.


Declaration

template<typename T>
concept is_rref = std::is_rvalue_reference_v<T>;


Example

static_assert(xieite::is_rref<int&&>);
static_assert(!xieite::is_rref<int>);
static_assert(!xieite::is_rref<int&>);
[View in Compiler Explorer]