This meta class finds, in a list of types, the first type stored exactly with a given number of bits. More...
#include <types.hpp>
Public Types | |
typedef meta::if_then_else< sizeof(head_type) *8==Size, head_type, typenamefind_type_by_size< Size, queue_type >::type >::result | type |
If the size of head_type matches the desired one, then the result is head_type, otherwise we search the type in the remaining ones . | |
This meta class finds, in a list of types, the first type stored exactly with a given number of bits.
Template parameters
typedef meta::if_then_else<sizeof(head_type)*8==Size,head_type,typenamefind_type_by_size<Size,queue_type>::type>::result claw::find_type_by_size< Size, TypeList >::type |