Crunch
A Message Definition Language for Getting Things Right
Loading...
Searching...
No Matches
Crunch::messages::ValidElementType Concept Reference

Concept for valid element type in Array/Map. Must be a scalar, string, message, array, or map. More...

#include <crunch_field.hpp>

Concept definition

template<typename T>
Crunch::fields::is_scalar_v<std::remove_cvref_t<T>> ||
Crunch::fields::is_string_v<std::remove_cvref_t<T>> ||
is_array_field_v<std::remove_cvref_t<T>> ||
is_map_field_v<std::remove_cvref_t<T>>
Concept to detect if a type quacks like a Crunch Message.
Definition: crunch_field.hpp:226
Concept for valid element type in Array/Map. Must be a scalar, string, message, array,...
Definition: crunch_field.hpp:266

Detailed Description

Concept for valid element type in Array/Map. Must be a scalar, string, message, array, or map.