xieite::is_lref<>

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

A wrapper for std::is_lvalue_reference_v<>.


Declaration

template<typename T>
concept is_lref = std::is_lvalue_reference_v<T>;


Example

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