Skip to content

StreamVariant

#include <sbio/core/roles.hh>
template<typename... Ts>
struct StreamVariant

Defined in src/lib/sbio/core/roles.hh:132

Inherits: type_list< Ts... >, VariantTag

Name Kind Owner
has_data variable Declared here
index_of variable Inherited from type_list
accepts variable Inherited from type_list
size function Inherited from type_list
Kind Name Description
variable index_of static constexpr
variable accepts static constexpr Evaluates true if the type U is in the type list.
function size static inline constexpr Returns the length of the type list, i.e., the number of types.
Return Name Description
constexpr bool has_data static constexpr

static constexpr

constexpr bool has_data { StreamVariant::template accepts<roles::Data> }

Defined in src/lib/sbio/core/roles.hh:134