OpenKalman
Public Member Functions | List of all members
OpenKalman::collections::repeat_tuple_view< N, T > Struct Template Reference

A view of a tuple that replicates a particular value N number of times. More...

#include <repeat.hpp>

Public Member Functions

template<typename Arg , std::enable_if_t< std::is_constructible_v< T, Arg &&>, int > = 0>
constexpr repeat_tuple_view (Arg &&arg)
 
constexpr T value () const
 

Detailed Description

template<std::size_t N, typename T>
struct OpenKalman::collections::repeat_tuple_view< N, T >

A view of a tuple that replicates a particular value N number of times.

Template Parameters
NThe number of copies
TThe type of the object to be replicated

Member Function Documentation

◆ value()

template<std::size_t N, typename T >
constexpr T OpenKalman::collections::repeat_tuple_view< N, T >::value ( ) const
inline
Returns
The underlying replicated value

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