syn Namespace Reference#
|
Reference API
|
The Synthesizer namespace. More...
Classes | |
| struct | range |
| struct | type_list |
| struct | value_list |
Typedefs | |
| template<typename List1 , typename List2 > | |
| using | concatenate = typename detail::concatenate_impl< List1, List2 >::type |
| template<typename T > | |
| using | as_list = typename detail::as_list_impl< T >::type |
Functions | |
| template<typename T , T... Value> | |
| constexpr std::array< T, sizeof...(Value)> | as_array (value_list< T, Value... > vl) |
Detailed Description
The Synthesizer namespace.
Typedef Documentation
◆ as_list
template<typename T >
| using gko::syn::as_list = typedef typename detail::as_list_impl<T>::type |
as_list<T> gives the alias type of as_list_impl<T>::type. It gives a list (itself) if input is already a list, or generates list type from range input.
- Template Parameters
-
T list or range
◆ concatenate
template<typename List1 , typename List2 >
| using gko::syn::concatenate = typedef typename detail::concatenate_impl<List1, List2>::type |
concatenate combines two value_list into one value_list.
- Template Parameters
-
List1 the first list List2 the second list
Function Documentation
◆ as_array()
template<typename T , T... Value>
|
constexpr |
as_array<T> returns the array from value_list. It will be helpful if using for in runtime on the array.
- Template Parameters
-
T the type of value_list Value the values of value_list
- Parameters
-
value_list the input value_list
- Returns
- std::array the std::array contains the values of value_list
Generated by