CLAW Library (a C++ Library Absolutely Wonderful) 1.5.5
|
Split a type_list according to the first instance of a given type. More...
#include <type_list.hpp>
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. |
Split a type_list according to the first instance of a given type.
Template parameters
Definition at line 93 of file type_list.hpp.
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.
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.