dune-typetree 2.8.0
Classes | Namespaces | Typedefs | Functions
utility.hh File Reference
#include <memory>
#include <tuple>
#include <type_traits>
#include <utility>
#include <algorithm>
#include <dune/common/shared_ptr.hh>
#include <dune/common/indices.hh>
#include <dune/common/hybridutilities.hh>
#include <dune/typetree/nodeinterface.hh>
#include <dune/typetree/nodetags.hh>

Go to the source code of this file.

Classes

struct  Dune::TypeTree::TreeInfo< Tree, Tag >
 Struct for obtaining some basic structural information about a TypeTree. More...
 
struct  Dune::TypeTree::apply_to_tuple_policy::no_pass_index
 Do not pass the index of the current tuple to the functor. More...
 
struct  Dune::TypeTree::apply_to_tuple_policy::pass_index
 Pass the index of the current tuple to the functor as its first argument in a std::integral_constant. More...
 

Namespaces

namespace  Dune
 
namespace  Dune::TypeTree
 
namespace  Dune::TypeTree::apply_to_tuple_policy
 Policies for the function apply_to_tuple().
 

Typedefs

typedef no_pass_index Dune::TypeTree::apply_to_tuple_policy::default_policy
 Default policy. More...
 

Functions

template<typename... Args>
void Dune::TypeTree::discard (Args &&... args)
 No-op function to make calling a function on a variadic template argument pack legal C++. More...
 
template<typename T , typename F , typename Policy >
void Dune::TypeTree::apply_to_tuple (T &&t, F &&f, Policy=apply_to_tuple_policy::default_policy())
 Apply a functor to each element of a std::tuple. More...