3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Classes | Namespaces | Typedefs | Functions
utility.hh File Reference

Utilities for template meta programming. More...

#include <cstddef>
#include <utility>

Go to the source code of this file.

Description

Utilities for template meta programming.

Classes

struct  Dumux::makeFromIndexedType< Variadic, Indexed, std::index_sequence< IndexSeq... > >
 
struct  Dumux::Detail::ConcatSeq< std::index_sequence< Is1... >, offset, std::index_sequence< Is2... > >
 

Namespaces

namespace  Dumux
 
namespace  Dumux::Detail
 

Typedefs

template<std::size_t n, std::size_t e>
using Dumux::makeIncompleteIntegerSequence = typename Detail::ConcatSeq< decltype(std::make_index_sequence< e >{}), e+1, decltype(std::make_index_sequence<(n > e) ?(n - e - 1) :0 >{})>::type
 

Functions

template<std::size_t offset, std::size_t ... is>
constexpr std::index_sequence<(offset+is)... > Dumux::addOffsetToIndexSequence (std::index_sequence< is... >)
 
template<std::size_t offset, std::size_t n>
constexpr auto Dumux::makeIndexSequenceWithOffset ()
 
Include dependency graph for utility.hh: