Skip to content

FindDescriptor< Role, Id, TypeList< Head, Tail... > >

FindDescriptor< Role, Id, TypeList< Head, Tail… > >

Section titled “FindDescriptor< Role, Id, TypeList< Head, Tail… > >”
#include <sbio/core/storage.hh>
template<typename Role, hd_std::size_t Id, typename Head, typename... Tail>
struct FindDescriptor< Role, Id, TypeList< Head, Tail... > >

Defined in src/lib/sbio/core/storage.hh:160

Name Kind Owner
type typedef Declared here
Name Description
type

using type = hd_std::conditional_t< hd_std::is_same_v< typename Head::role, Role > &&(Head::id==Id), Head, typename FindDescriptor< Role, Id, TypeList< Tail... > >::type >

Defined in src/lib/sbio/core/storage.hh:161