Claw
1.7.3
|
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 100 of file type_list.hpp.