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

#include <def.hpp>

Classes

class  iterator
 

Public Member Functions

constexpr auto begin () const noexcept -> iterator
 
constexpr auto cbegin () const noexcept -> iterator
 
constexpr auto end () const noexcept -> iterator
 
constexpr auto cend () const noexcept -> iterator
 
constexpr auto size () const noexcept -> type
 

Private Types

using type = std::underlying_type_t< enumT >
 

Detailed Description

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

Definition at line 331 of file def.hpp.

Member Typedef Documentation

◆ type

template<typename enumT , enumT TSize = enumT::FINAL>
using type = std::underlying_type_t<enumT>
private

Definition at line 332 of file def.hpp.

Member Function Documentation

◆ begin()

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

Definition at line 357 of file def.hpp.

◆ cbegin()

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

Definition at line 358 of file def.hpp.

◆ cend()

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

Definition at line 361 of file def.hpp.

◆ end()

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

Definition at line 360 of file def.hpp.

◆ size()

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

Definition at line 363 of file def.hpp.


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