AnCH Framework 0.2
Another C++ Hack: C++23 utility libraries
Loading...
Searching...
No Matches
anch::val::Validatable Concept Reference

Type which can be validated: scalar ( anch::val::IsScalar ), described object ( anch::Mapping ), or std::optional , pointer, collection or map of them. More...

#include <validation.hpp>

Concept definition

template<typename T>
concept Validatable = anch::val::detail::validatable<T>()
Type which can be validated: scalar ( anch::val::IsScalar ), described object ( anch::Mapping ),...
Definition validation.hpp:170

Detailed Description

Type which can be validated: scalar ( anch::val::IsScalar ), described object ( anch::Mapping ), or std::optional , pointer, collection or map of them.

A class which is neither described nor a scalar is refused: its description is probably not visible (it has to be declared in the header of the class, just after it).

Template Parameters
Tthe type
Since
0.3