3.0.0
Freundlich's C++ toolkit
Public Types | Public Member Functions
fcppt::enum_::range< Enum > Class Template Reference

Detailed Description

template<typename Enum>
class fcppt::enum_::range< Enum >

A range over a contiguous enum.

Public Types

typedef Enum value_type
 
typedef fcppt::enum_::iterator< Enum > iterator
 
typedef iterator const_iterator
 
typedef fcppt::enum_::size_type< Enum > size_type
 

Public Member Functions

constexpr range (size_type begin, size_type end) noexcept
 
constexpr iterator begin () const noexcept
 
constexpr iterator end () const noexcept
 
constexpr size_type size () const noexcept
 

Member Typedef Documentation

◆ const_iterator

template<typename Enum >
typedef iterator fcppt::enum_::range< Enum >::const_iterator

◆ iterator

template<typename Enum >
typedef fcppt::enum_::iterator< Enum > fcppt::enum_::range< Enum >::iterator

◆ size_type

template<typename Enum >
typedef fcppt::enum_::size_type< Enum > fcppt::enum_::range< Enum >::size_type

◆ value_type

template<typename Enum >
typedef Enum fcppt::enum_::range< Enum >::value_type

Constructor & Destructor Documentation

◆ range()

template<typename Enum >
constexpr fcppt::enum_::range< Enum >::range ( size_type  begin,
size_type  end 
)
noexcept

Member Function Documentation

◆ begin()

template<typename Enum >
constexpr iterator fcppt::enum_::range< Enum >::begin ( ) const
noexcept

◆ end()

template<typename Enum >
constexpr iterator fcppt::enum_::range< Enum >::end ( ) const
noexcept

◆ size()

template<typename Enum >
constexpr size_type fcppt::enum_::range< Enum >::size ( ) const
noexcept