|
template<std::size_t... i> |
void | Dune::TypeTree::print_tree_path (std::ostream &os) |
|
template<std::size_t k, std::size_t... i> |
void | Dune::TypeTree::print_tree_path (std::ostream &os) |
|
template<typename... T> |
constexpr HybridTreePath< T... > | Dune::TypeTree::hybridTreePath (const T &... t) |
| Constructs a new HybridTreePath from the given indices.
|
|
template<typename... T> |
constexpr HybridTreePath< T... > | Dune::TypeTree::treePath (const T &... t) |
| Constructs a new HybridTreePath from the given indices.
|
|
template<typename... T> |
constexpr std::size_t | Dune::TypeTree::treePathSize (const HybridTreePath< T... > &) |
| Returns the size (number of components) of the given HybridTreePath .
|
|
template<std::size_t i, typename... T> |
constexpr auto | Dune::TypeTree::treePathEntry (const HybridTreePath< T... > &tp, index_constant< i >={}) -> typename std::decay< decltype(std::get< i >(tp._data))>::type |
| Returns a copy of the i-th element of the HybridTreePath .
|
|
template<std::size_t i, typename... T> |
constexpr std::size_t | Dune::TypeTree::treePathIndex (const HybridTreePath< T... > &tp, index_constant< i >={}) |
| Returns the index value of the i-th element of the HybridTreePath .
|
|
template<typename... T, typename std::enable_if<(sizeof...(T) > 0), bool >::type = true> |
constexpr auto | Dune::TypeTree::back (const HybridTreePath< T... > &tp) -> decltype(treePathEntry< sizeof...(T) -1 >(tp)) |
| Returns a copy of the last element of the HybridTreePath .
|
|
template<typename... T> |
constexpr auto | Dune::TypeTree::front (const HybridTreePath< T... > &tp) -> decltype(treePathEntry< 0 >(tp)) |
| Returns a copy of the first element of the HybridTreePath .
|
|
template<typename... T> |
constexpr HybridTreePath< T..., std::size_t > | Dune::TypeTree::push_back (const HybridTreePath< T... > &tp, std::size_t i) |
| Appends a run time index to a HybridTreePath .
|
|
template<std::size_t i, typename... T> |
constexpr HybridTreePath< T..., index_constant< i > > | Dune::TypeTree::push_back (const HybridTreePath< T... > &tp, index_constant< i > i_={}) |
| Appends a compile time index to a HybridTreePath .
|
|
template<typename... T> |
constexpr HybridTreePath< std::size_t, T... > | Dune::TypeTree::push_front (const HybridTreePath< T... > &tp, std::size_t element) |
| Prepends a run time index to a HybridTreePath .
|
|
template<std::size_t i, typename... T> |
constexpr HybridTreePath< index_constant< i >, T... > | Dune::TypeTree::push_front (const HybridTreePath< T... > &tp, index_constant< i > _i={}) |
| Prepends a compile time index to a HybridTreePath .
|
|
template<class... T> |
constexpr auto | Dune::TypeTree::pop_front (const HybridTreePath< T... > &tp) |
| Removes first index on a HybridTreePath .
|
|
template<class... T> |
constexpr auto | Dune::TypeTree::pop_back (const HybridTreePath< T... > &tp) |
| Removes last index on a HybridTreePath .
|
|
template<class... S, class... T> |
constexpr bool | Dune::TypeTree::operator== (const HybridTreePath< S... > &lhs, const HybridTreePath< T... > &rhs) |
| Compare two HybridTreePath s for value equality.
|
|
template<class S , S... lhs, class T , T... rhs> |
constexpr auto | Dune::TypeTree::operator== (const HybridTreePath< std::integral_constant< S, lhs >... > &, const HybridTreePath< std::integral_constant< T, rhs >... > &) |
| Overload for purely static HybridTreePath s.
|
|
template<class... S, class... T> |
constexpr auto | Dune::TypeTree::operator!= (const HybridTreePath< S... > &lhs, const HybridTreePath< T... > &rhs) |
| Compare two HybridTreePath s for unequality.
|
|
template<class S , S... lhs, class T , T... rhs> |
constexpr auto | Dune::TypeTree::operator!= (const HybridTreePath< std::integral_constant< S, lhs >... > &, const HybridTreePath< std::integral_constant< T, rhs >... > &) |
| Compare two static HybridTreePath s for unequality.
|
|
template<typename... T> |
std::ostream & | Dune::TypeTree::operator<< (std::ostream &os, const HybridTreePath< T... > &tp) |
| Dumps a HybridTreePath to a stream.
|
|