Simple-Utility v2.3.1
Loading...
Searching...
No Matches
sl::concepts::reference Concept Reference

Checks whether the T denotes a reference type. More...

#include <stl_extensions.hpp>

Concept definition

template<class T>
concept sl::concepts::reference = std::is_reference_v<T>
Checks whether the T denotes a reference type.
Definition: stl_extensions.hpp:44

Detailed Description

Checks whether the T denotes a reference type.

This is the concept version of std::is_reference.

See also
https://en.cppreference.com/w/cpp/types/is_reference
Template Parameters
TThe type to check.