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<unsigned int 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 79 of file types.hpp.


Member Typedef Documentation

template<unsigned int Size, typename TypeList>
typedef TypeList::head_type claw::find_type_by_size< Size, TypeList >::head_type [private]

Definition at line 82 of file types.hpp.

template<unsigned int Size, typename TypeList>
typedef TypeList::queue_type claw::find_type_by_size< Size, TypeList >::queue_type [private]

Definition at line 83 of file types.hpp.

template<unsigned int 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 89 of file types.hpp.


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

Generated on 9 Nov 2009 for CLAW Library (a C++ Library Absolutely Wonderful) by  doxygen 1.6.1