Public Types | Private Types

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>

List of all members.

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

Private Types

typedef TypeList::head_type head_type
typedef TypeList::queue_type queue_type

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.


Member Typedef Documentation

template<std::size_t Size, typename TypeList>
typedef TypeList::head_type claw::find_type_by_size< Size, TypeList >::head_type [private]

Definition at line 84 of file types.hpp.

template<std::size_t Size, typename TypeList>
typedef TypeList::queue_type claw::find_type_by_size< Size, TypeList >::queue_type [private]

Definition at line 85 of file types.hpp.

template<std::size_t Size, typename TypeList>
typedef meta::if_then_else< sizeof(head_type) * 8 == Size, head_type, typename find_type_by_size<Size, queue_type>::type >::result claw::find_type_by_size< Size, TypeList >::type

Definition at line 91 of file types.hpp.


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