xronos-sdk 0.14.0
Xronos C++ SDK
Loading...
Searching...
No Matches
xronos::sdk::HasValueTypeName Concept Reference

Satisfied when T has a ValueType specialization naming it. More...

#include <xronos/sdk/value_type.hh>

Concept definition

template<class T>
concept HasValueTypeName = requires {
{ ValueType<T>::name } -> std::convertible_to<std::string_view>;
}
Satisfied when T has a ValueType specialization naming it.
Definition value_type.hh:65
The name identifying T across separately built nodes.
Definition value_type.hh:56

Detailed Description

Satisfied when T has a ValueType specialization naming it.

Exporting a port requires this, so a missing specialization is reported against the type rather than deep in the export machinery.