LAL: Linear Arrangement Library 23.01.00
A library focused on algorithms on linear arrangements of graphs.
Loading...
Searching...
No Matches
Public Types | List of all members
lal::detail::conditional_list< bool_seq, type_seq > Struct Template Reference

Generalization of std::conditional_list. More...

#include <conditional_list.hpp>

Public Types

using type = std::conditional_t< bool_seq::num_true==0, std::nullptr_t, ith_type_t< bool_seq::index_true, type_seq > >
 The type from type_seq that is to be used according to bool_seq.
 

Detailed Description

template<typename bool_seq, typename type_seq>
struct lal::detail::conditional_list< bool_seq, type_seq >

Generalization of std::conditional_list.

Choose a type depending on the first true value in bool_seq.

Template Parameters
bool_seqA sequence of Boolean values.
type_seqA sequence of types.
Precondition
Exactly one of the Boolean values in bool_seq has to be true.

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