Claw  1.7.3
Public Types | List of all members
claw::find_type_by_size< Size, TypeList > Struct Template Reference

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, typename
find_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 .

Detailed Description

template<std::size_t Size, typename TypeList>
struct claw::find_type_by_size< Size, TypeList >

This meta class finds, in a list of types, the first type stored exactly with a given number of bits.

Template parameters

Definition at line 81 of file types.hpp.


The documentation for this struct was generated from the following file: