claw  1.9.0
Public Types | List of all members
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>

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 78 of file type_list.hpp.


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