Dune TypeTree (unstable)
treepath.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
51 "HybridTreePath indices must be convertible to std::size_t or std::integral_constant<std::size_t,v>");
57 "HybridTreePath indices must be convertible to std::size_t or std::integral_constant<std::size_t,v>");
59 "HybridTreePath indices must be convertible to std::size_t or std::integral_constant<std::size_t,v>");
214 [[nodiscard]] constexpr auto treePathEntry(const HybridTreePath<T...>& tp, index_constant<i> = {})
239 [[nodiscard]] constexpr std::size_t treePathIndex(const HybridTreePath<T...>& tp, index_constant<i> = {})
246 [[deprecated("This class will be removed after Dune 2.11. Use the size() member function instead.")]]
254 [[deprecated("This class will be removed after Dune 2.11. Use the free push_back() function instead.")]]
262 [[deprecated("This class will be removed after Dune 2.11. Use the free push_front() function instead.")]]
270 [[deprecated("This class will be removed after Dune 2.11. Use the back() member function instead.")]]
277 [[deprecated("This class will be removed after Dune 2.11. Use the back() member function instead.")]]
284 [[deprecated("This class will be removed after Dune 2.11. Use the front() member function instead.")]]
291 [[deprecated("This class will be removed after Dune 2.11. Use the free pop_back() function instead.")]]
302 [[deprecated("This class will be removed after Dune 2.11. Use the free pop_back() function instead.")]]
309 [[deprecated("This class will be removed after Dune 2.11. Use the free pop_front() function instead.")]]
317 [[deprecated("This class will be removed after Dune 2.11. Use the free join() function instead.")]]
constexpr auto treePathEntry(const HybridTreePath< T... > &tp, index_constant< i >={})
Returns a copy of the i-th element of the HybridTreePath.
Definition: treepath.hh:214
constexpr std::size_t treePathSize(const HybridTreePath< T... > &)
Returns the size (number of components) of the given HybridTreePath.
Definition: treepath.hh:191
constexpr auto makeTreePath(const T... t)
helper function to construct a new HybridTreePath from the given indices.
Definition: treepath.hh:184
constexpr auto hybridTreePath(const T &... t)
Constructs a new HybridTreePath from the given indices.
Definition: treepath.hh:102
constexpr std::size_t treePathIndex(const HybridTreePath< T... > &tp, index_constant< i >={})
Returns the index value of the i-th element of the HybridTreePath.
Definition: treepath.hh:239
Dune::HybridMultiIndex< T... > HybridTreePath
A type for representing tree paths that supports both compile time and run time indices.
Definition: treepath.hh:85
Definition: treepath.hh:133
Definition: treepath.hh:157
Definition: treepath.hh:139
Definition: treepath.hh:145
Definition: treepath.hh:151
Definition: treepath.hh:121
Definition: treepath.hh:127
Definition: treepath.hh:115
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Jan 9, 23:34, 2026)