OpenKalman
Public Member Functions | List of all members
OpenKalman::collections::tuple_slice_view< index1, index2, T > Struct Template Reference

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.
 

Detailed Description

template<std::size_t index1, std::size_t index2, typename T>
struct OpenKalman::collections::tuple_slice_view< index1, index2, T >

A view to a slice of a tuple_like object.

Template Parameters
TA base tuple_like object
index1The index of the beginning of the slice.
index2The first index just beyond the end of the slice.

The documentation for this struct was generated from the following file: