OpenKalman
Classes | Public Member Functions | List of all members
OpenKalman::ranges::repeat_view< W, Bound > Struct Template Reference

Equivalent to std::ranges::repeat_view. More...

#include <repeat.hpp>

Inheritance diagram for OpenKalman::ranges::repeat_view< W, Bound >:
Inheritance graph
[legend]
Collaboration diagram for OpenKalman::ranges::repeat_view< W, Bound >:
Collaboration graph
[legend]

Classes

struct  iterator
 

Public Member Functions

constexpr repeat_view (const W &value, Bound bound={})
 
constexpr repeat_view (W &&value, Bound bound={})
 
template<typename... WArgs, typename... BoundArgs, std::enable_if_t< constructible_from< W, WArgs... > and constructible_from< Bound, BoundArgs... >, int > = 0>
constexpr repeat_view (std::piecewise_construct_t, std::tuple< WArgs... > value_args, std::tuple< BoundArgs... > bound_args=std::tuple<>{})
 
constexpr iterator begin () const
 
template<bool Enable = true, std::enable_if_t< Enable and not std::is_same_v< Bound, unreachable_sentinel_t >, int > = 0>
constexpr iterator end () const
 
constexpr unreachable_sentinel_t end () const
 
template<bool Enable = true, std::enable_if_t< Enable and not std::is_same_v< Bound, unreachable_sentinel_t >, int > = 0>
constexpr auto size () const
 
- Public Member Functions inherited from OpenKalman::ranges::view_interface< repeat_view< W, Bound > >
constexpr bool empty ()
 
constexpr bool empty () const
 
constexpr auto cbegin ()
 
constexpr auto cbegin () const
 
constexpr auto cend ()
 
constexpr auto cend () const
 
constexpr operator bool ()
 
constexpr operator bool () const
 
constexpr auto size ()
 
constexpr auto size () const
 
decltype(auto) constexpr front ()
 
decltype(auto) constexpr front () const
 
decltype(auto) constexpr back ()
 
decltype(auto) constexpr back () const
 
decltype(auto) constexpr operator[] (range_difference_t< D > n)
 
decltype(auto) constexpr operator[] (range_difference_t< D > n) const
 

Detailed Description

template<typename W, typename Bound = unreachable_sentinel_t>
struct OpenKalman::ranges::repeat_view< W, Bound >

Equivalent to std::ranges::repeat_view.


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