HikoGUI
Select Version:
⚠️ This documents the main development branch of HikoGUI. It might differ from release versions.
A low latency retained GUI
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
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->().