dot-xx
A personal collection of small C++ modules
Loading...
Searching...
No Matches
traits.xx File Reference
module dxx.utils

Type traits and concepts. More...

import std;

Namespaces

namespace  dxx::utils
 The main namespace of the dxx::utils module.

Concepts

concept  dxx::utils::pointer
 Concept over std::is_pointer_v.
concept  dxx::utils::reference
 Concept over std::is_reference_v.
concept  dxx::utils::const_vrp
 A const value, a pointer to const, or a reference to const.
concept  dxx::utils::mut_vrp
 Inverse of const_vrp.
concept  dxx::utils::is_a
 Checks if the type is an instance of a template.
concept  dxx::utils::either_of
 Checks if a type is the same as at least one of the provided arguments.
concept  dxx::utils::neither_of
 Checks if a type is neither of provided arguments.
concept  dxx::utils::declares
 Checks if the type was used to declare a certain value.

Detailed Description

Type traits and concepts.