A uniformly_gettable view that replicates a particular value N number of times.
More...
#include <repeat.hpp>
|
|
template<typename Arg , std::enable_if_t< stdex::constructible_from< T, Arg &&>, int > = 0> |
| constexpr | repeat_tuple_view (Arg &&arg) |
| |
| constexpr T | value () const |
| |
|
template<std::size_t i> |
| decltype(auto) constexpr | get () & |
| | Get element i of a repeat_tuple_view.
|
| |
| template<std::size_t i> |
| decltype(auto) constexpr | get () const & |
| |
| template<std::size_t i> |
| decltype(auto) constexpr | get () &&noexcept |
| |
| template<std::size_t i> |
| decltype(auto) constexpr | get () const &&noexcept |
| |
template<std::size_t N, typename T>
struct OpenKalman::collections::repeat_tuple_view< N, T >
A uniformly_gettable view that replicates a particular value N number of times.
- Template Parameters
-
| N | The number of copies |
| T | The type of the object to be replicated |
◆ get() [1/3]
template<std::size_t N, typename T >
template<std::size_t i>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ get() [2/3]
template<std::size_t N, typename T >
template<std::size_t i>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ get() [3/3]
template<std::size_t N, typename T >
template<std::size_t i>
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
◆ value()
template<std::size_t N, typename T >
- Returns
- The underlying replicated value
The documentation for this struct was generated from the following file: