HikoGUI
A low latency retained GUI
Loading...
Searching...
No Matches
hi::v1::dereferenceable Concept Reference

True if T is dereferenceable. More...

#include <hikogui/utility/concepts.hpp>

Concept definition

template<typename T>
concept hi::v1::dereferenceable = std::is_pointer_v<T> or requires(T& a) {
a.operator*();
a.operator->();
}
True if T is dereferenceable.
Definition concepts.hpp:156

Detailed Description

True if T is dereferenceable.

Either it is a pointer, or it implements both operator*() and operator->().