mrdocs::Type::Constraints

The constraints associated with the type

Synopsis

Declared in <mrdocs/Metadata/Type/TypeBase.hpp>

std::vector<ExprInfo> Constraints;

Description

This represents the constraints associated with the type, such as SFINAE constraints.

For instance, if SFINAE detection is enabled, the expression std::enable_if_t<std::is_integral_v<T>, T> will have type T (NamedType) and constraints {std::is_integral_v<T>}.

Created with MrDocs