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

Concept to detect if a type quacks like a Crunch Message. More...

#include <crunch_field.hpp>

Concept definition

template<typename T>
{ std::integral_constant<MessageId, T::message_id>{} };
{ T{}.get_fields() };
}
Concept to detect if a type quacks like a Crunch Message.
Definition: crunch_field.hpp:226

Detailed Description

Concept to detect if a type quacks like a Crunch Message.