openMSX
Public Types | Public Member Functions | List of all members
view::detail::Take< Range > Class Template Reference

#include <view.hh>

Public Types

using Iterator = decltype(std::begin(std::declval< Range >()))
 
using Sentinel = decltype(std::end(std::declval< Range >()))
 
using Take_Iterator = TakeIterator< Iterator, Sentinel >
 

Public Member Functions

constexpr Take (Range &&range_, size_t n_)
 
constexpr Take_Iterator begin () const
 
constexpr Sentinel end () const
 

Detailed Description

template<typename Range>
class view::detail::Take< Range >

Definition at line 398 of file view.hh.

Member Typedef Documentation

◆ Iterator

template<typename Range >
using view::detail::Take< Range >::Iterator = decltype(std::begin(std::declval<Range>()))

Definition at line 401 of file view.hh.

◆ Sentinel

template<typename Range >
using view::detail::Take< Range >::Sentinel = decltype(std::end (std::declval<Range>()))

Definition at line 402 of file view.hh.

◆ Take_Iterator

template<typename Range >
using view::detail::Take< Range >::Take_Iterator = TakeIterator<Iterator, Sentinel>

Definition at line 403 of file view.hh.

Constructor & Destructor Documentation

◆ Take()

template<typename Range >
constexpr view::detail::Take< Range >::Take ( Range &&  range_,
size_t  n_ 
)
inlineconstexpr

Definition at line 405 of file view.hh.

Member Function Documentation

◆ begin()

template<typename Range >
constexpr Take_Iterator view::detail::Take< Range >::begin ( ) const
inlineconstexpr

Definition at line 408 of file view.hh.

◆ end()

template<typename Range >
constexpr Sentinel view::detail::Take< Range >::end ( ) const
inlineconstexpr

Definition at line 411 of file view.hh.


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