OpenKalman
|
A view to a slice of a tuple_like object. More...
#include <tuple_slice.hpp>
Public Member Functions | |
template<typename Arg , std::enable_if_t< std::is_constructible_v< T, Arg &&>, int > = 0> | |
constexpr | tuple_slice_view (Arg &&arg) |
template<std::size_t i> | |
frienddecltype(auto) constexpr | get (const tuple_slice_view &v) |
Get element i of a tuple_slice_view. | |
template<std::size_t i> | |
frienddecltype(auto) constexpr | get (tuple_slice_view &&v) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. | |
A view to a slice of a tuple_like object.
T | A base tuple_like object |
index1 | The index of the beginning of the slice. |
index2 | The first index just beyond the end of the slice. |