IgANet
IgANets - Isogeometric Analysis Networks
Loading...
Searching...
No Matches
type_traits.hpp File Reference

Type traits. More...

#include <type_traits>

Go to the source code of this file.

Classes

struct  iganet::utils::is_tuple< T >
 Type trait for std::tuple type. More...
 
struct  iganet::utils::is_tuple< std::tuple< Ts... > >
 
struct  iganet::utils::is_tuple_of_tuples< T >
 Type trait for std::tuple<std::tuple> type. More...
 
struct  iganet::utils::is_tuple_of_tuples< std::tuple< Ts... > >
 
struct  iganet::utils::tuple_cat< std::tuple< Ts... >, Tuples... >
 
struct  iganet::utils::tuple_cat< T, Tuples... >
 
struct  iganet::utils::tuple_cat<>
 

Namespaces

namespace  iganet
 
namespace  iganet::utils
 

Typedefs

template<class T >
using iganet::utils::is_tuple_of_tuples_t = typename is_tuple_of_tuples< T >::type
 Alias for is_tuple_of_tuples::type.
 
template<typename... Tuples>
using iganet::utils::tuple_cat_t = typename tuple_cat< Tuples... >::type
 Alias for tuple_cat::type.
 

Variables

template<class T >
constexpr auto iganet::utils::is_tuple_of_tuples_v = is_tuple_of_tuples<T>::value
 Alias for is_tuple_of_tuples::value.
 
template<class T >
constexpr bool iganet::utils::is_tuple_v = is_tuple<T>::value
 
template<typename... Tuples>
constexpr auto iganet::utils::tuple_cat_v = tuple_cat<Tuples...>::value
 Alias for tuple_cat::value.
 

Detailed Description

Type traits.

Author
Matthias Moller

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.


Class Documentation

◆ iganet::utils::tuple_cat< std::tuple< Ts... >, Tuples... >

struct iganet::utils::tuple_cat< std::tuple< Ts... >, Tuples... >
template<typename... Ts, typename... Tuples>
struct iganet::utils::tuple_cat< std::tuple< Ts... >, Tuples... >
Class Members
typedef decltype(tuple_cat(declval< tuple< Ts... > >(), type >())) type

◆ iganet::utils::tuple_cat< T, Tuples... >

struct iganet::utils::tuple_cat< T, Tuples... >
template<typename T, typename... Tuples>
struct iganet::utils::tuple_cat< T, Tuples... >
Class Members
typedef decltype(tuple_cat(declval< tuple< T > >(), type >())) type

◆ iganet::utils::tuple_cat<>

struct iganet::utils::tuple_cat<>
Class Members
typedef tuple<> type