mitteLib
Loading...
Searching...
No Matches
mlab::range< Iterator > Struct Template Reference

#include <bin_data.hpp>

Public Member Functions

constexpr range ()=default
 
constexpr range (Iterator b, Iterator e)
 
template<class Container >
constexpr range (Container &c)
 
template<class Jterator , class = typename std::enable_if<std::is_convertible_v<Jterator, Iterator>>::type>
constexpr range (range< Jterator > other)
 
template<class Jterator = Iterator, class = std::enable_if_t<std::is_same_v<typename std::iterator_traits<Jterator>::iterator_category, std::random_access_iterator_tag>>>
constexpr std::iterator_traits< Iterator >::difference_type size () const
 
constexpr std::add_const_t< typename std::iterator_traits< Iterator >::pointer > data () const
 
constexpr std::iterator_traits< Iterator >::pointer data ()
 
constexpr Iterator begin () const
 
constexpr Iterator end () const
 

Public Attributes

Iterator it_begin {}
 
Iterator it_end {}
 

Constructor & Destructor Documentation

◆ range() [1/4]

template<class Iterator >
mlab::range< Iterator >::range ( )
constexprdefault

◆ range() [2/4]

template<class Iterator >
mlab::range< Iterator >::range ( Iterator b,
Iterator e )
inlineconstexpr

◆ range() [3/4]

template<class Iterator >
template<class Container >
mlab::range< Iterator >::range ( Container & c)
inlineexplicitconstexpr

◆ range() [4/4]

template<class Iterator >
template<class Jterator , class = typename std::enable_if<std::is_convertible_v<Jterator, Iterator>>::type>
mlab::range< Iterator >::range ( range< Jterator > other)
inlineconstexpr

Member Function Documentation

◆ begin()

template<class Iterator >
Iterator mlab::range< Iterator >::begin ( ) const
inlinenodiscardconstexpr

◆ data() [1/2]

template<class Iterator >
std::iterator_traits< Iterator >::pointer mlab::range< Iterator >::data ( )
inlinenodiscardconstexpr
Todo
Deprecate, we have no knowledge about data contiguity at this point. Used only in log statements FTTB.

◆ data() [2/2]

template<class Iterator >
std::add_const_t< typename std::iterator_traits< Iterator >::pointer > mlab::range< Iterator >::data ( ) const
inlinenodiscardconstexpr
Todo
Deprecate, we have no knowledge about data contiguity at this point. Used only in log statements FTTB.

◆ end()

template<class Iterator >
Iterator mlab::range< Iterator >::end ( ) const
inlinenodiscardconstexpr

◆ size()

template<class Iterator >
template<class Jterator = Iterator, class = std::enable_if_t<std::is_same_v<typename std::iterator_traits<Jterator>::iterator_category, std::random_access_iterator_tag>>>
std::iterator_traits< Iterator >::difference_type mlab::range< Iterator >::size ( ) const
inlinenodiscardconstexpr

Member Data Documentation

◆ it_begin

template<class Iterator >
Iterator mlab::range< Iterator >::it_begin {}

◆ it_end

template<class Iterator >
Iterator mlab::range< Iterator >::it_end {}

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