CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
Public Types

claw::meta::split_type_list_at< Delimiter, TypeList > Struct Template Reference

Split a type_list according to the first instance of a given type. More...

#include <type_list.hpp>

List of all members.

Public Types

typedef if_then_else
< same_type< Delimiter,
typename TypeList::head_type >
::result, no_type, type_list
< typename TypeList::head_type,
typename split_type_list_at
< Delimiter, typename
TypeList::queue_type >
::left_part_type > >::result 
left_part_type
 The left part of the list. The delimiter is not included.
typedef if_then_else
< same_type< Delimiter,
typename TypeList::head_type >
::result, TypeList, typename
split_type_list_at< Delimiter,
typename TypeList::queue_type >
::right_part_type >::result 
right_part_type
 The right part of the list. The delimiter is included.

Detailed Description

template<typename Delimiter, typename TypeList>
struct claw::meta::split_type_list_at< Delimiter, TypeList >

Split a type_list according to the first instance of a given type.

Template parameters

Definition at line 93 of file type_list.hpp.


Member Typedef Documentation

template<typename Delimiter , typename TypeList >
typedef if_then_else< same_type<Delimiter, typename TypeList::head_type>::result, no_type, type_list < typename TypeList::head_type, typename split_type_list_at <Delimiter, typename TypeList::queue_type>::left_part_type > >::result claw::meta::split_type_list_at< Delimiter, TypeList >::left_part_type

The left part of the list. The delimiter is not included.

Definition at line 103 of file type_list.hpp.

template<typename Delimiter , typename TypeList >
typedef if_then_else< same_type<Delimiter, typename TypeList::head_type>::result, TypeList, typename split_type_list_at <Delimiter, typename TypeList::queue_type>::right_part_type >::result claw::meta::split_type_list_at< Delimiter, TypeList >::right_part_type

The right part of the list. The delimiter is included.

Definition at line 111 of file type_list.hpp.


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