hoshi-lang dev
Yet another programming language
Loading...
Searching...
No Matches
enum_range< enumT, TSize >::iterator Class Referencefinal

#include <def.hpp>

Public Member Functions

constexpr iterator () noexcept=default
 
constexpr iterator (enumT e) noexcept
 
constexpr auto operator* () const noexcept -> enumT
 
constexpr auto operator-> () const &noexcept -> const enumT *
 
constexpr auto operator++ () &noexcept -> iterator
 
constexpr auto operator== (iterator i) -> bool
 
constexpr auto operator!= (iterator i) -> bool
 

Private Attributes

enumT value {static_cast<enumT>(0)}
 

Detailed Description

template<typename enumT, enumT TSize = enumT::FINAL>
class yoi::enum_range< enumT, TSize >::iterator

Definition at line 337 of file def.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr iterator ( )
constexprdefaultnoexcept

◆ iterator() [2/2]

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr iterator ( enumT  e)
inlineconstexprnoexcept

Definition at line 342 of file def.hpp.

Member Function Documentation

◆ operator!=()

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr auto operator!= ( iterator  i) -> bool
inlineconstexpr

Definition at line 354 of file def.hpp.

◆ operator*()

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr auto operator* ( ) const -> enumT
inlineconstexprnoexcept

Definition at line 344 of file def.hpp.

◆ operator++()

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr auto operator++ ( ) & -> iterator
inlineconstexprnoexcept

Definition at line 348 of file def.hpp.

◆ operator->()

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr auto operator-> ( ) const & -> const enumT*
inlineconstexprnoexcept

Definition at line 345 of file def.hpp.

◆ operator==()

template<typename enumT , enumT TSize = enumT::FINAL>
constexpr auto operator== ( iterator  i) -> bool
inlineconstexpr

Definition at line 353 of file def.hpp.

Member Data Documentation

◆ value

template<typename enumT , enumT TSize = enumT::FINAL>
enumT value {static_cast<enumT>(0)}
private

Definition at line 338 of file def.hpp.


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