Dune TypeTree (unstable)
treepath.hh
3// SPDX-FileCopyrightInfo: Copyright © DUNE Project contributors, see file LICENSE.md in module root
53 "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>");
61 "HybridTreePath indices must be convertible to std::size_t or std::integral_constant<std::size_t,v>");
230 [[nodiscard]] constexpr auto treePathEntry(const HybridTreePath<T...>& tp, index_constant<i> = {})
255 [[nodiscard]] constexpr std::size_t treePathIndex(const HybridTreePath<T...>& tp, index_constant<i> = {})
294 [[deprecated("This class will be removed after Dune 2.11. Use the size() member function instead.")]]
302 [[deprecated("This class will be removed after Dune 2.11. Use the free push_back() function instead.")]]
310 [[deprecated("This class will be removed after Dune 2.11. Use the free push_front() function instead.")]]
318 [[deprecated("This class will be removed after Dune 2.11. Use the back() member function instead.")]]
325 [[deprecated("This class will be removed after Dune 2.11. Use the back() member function instead.")]]
332 [[deprecated("This class will be removed after Dune 2.11. Use the front() member function instead.")]]
339 [[deprecated("This class will be removed after Dune 2.11. Use the free pop_back() function instead.")]]
350 [[deprecated("This class will be removed after Dune 2.11. Use the free pop_back() function instead.")]]
357 [[deprecated("This class will be removed after Dune 2.11. Use the free pop_front() function instead.")]]
365 [[deprecated("This class will be removed after Dune 2.11. Use the free join() function instead.")]]
A hybrid multi-index class that supports both compile time and run time indices.
Definition: hybridmultiindex.hh:81
constexpr auto treePathEntry(const HybridTreePath< T... > &tp, index_constant< i >={})
Returns a copy of the i-th element of the HybridTreePath.
Definition: treepath.hh:230
constexpr std::size_t treePathSize(const HybridTreePath< T... > &)
Returns the size (number of components) of the given HybridTreePath.
Definition: treepath.hh:207
constexpr auto makeTreePath(const T... t)
helper function to construct a new HybridTreePath from the given indices.
Definition: treepath.hh:166
constexpr auto hybridTreePath(const T &... t)
Constructs a new HybridTreePath from the given indices.
Definition: treepath.hh:184
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:255
constexpr auto treePath(const T &... t)
Constructs a new HybridTreePath from the given indices.
Definition: treepath.hh:199
Definition: treepath.hh:98
Definition: treepath.hh:122
Definition: treepath.hh:104
Definition: treepath.hh:110
Definition: treepath.hh:116
Definition: treepath.hh:86
Definition: treepath.hh:92
Definition: treepath.hh:80
|
Legal Statements / Impressum |
Hosted by TU Dresden & Uni Heidelberg |
generated with Hugo v0.111.3
(Nov 2, 23:43, 2025)