tetl 0.1.0
Embedded Template Library
Loading...
Searching...
No Matches
weekday_indexed Struct Reference

#include <weekday_indexed.hpp>

Public Member Functions

 weekday_indexed ()=default
 
constexpr weekday_indexed (etl::chrono::weekday const &wd, unsigned index) noexcept
 
constexpr auto index () const noexcept -> unsigned
 
constexpr auto ok () const noexcept -> bool
 
constexpr auto weekday () const noexcept -> etl::chrono::weekday
 

Friends

constexpr auto operator== (weekday_indexed const &lhs, weekday_indexed const &rhs) noexcept -> bool
 

Constructor & Destructor Documentation

◆ weekday_indexed() [1/2]

weekday_indexed ( )
default

◆ weekday_indexed() [2/2]

constexpr weekday_indexed ( etl::chrono::weekday const wd,
unsigned  index 
)
inlineconstexprnoexcept

Member Function Documentation

◆ index()

constexpr auto index ( ) const -> unsigned
inlineconstexprnoexcept

◆ ok()

constexpr auto ok ( ) const -> bool
inlineconstexprnoexcept

◆ weekday()

constexpr auto weekday ( ) const -> etl::chrono::weekday
inlineconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator==

constexpr auto operator== ( weekday_indexed const lhs,
weekday_indexed const rhs 
) -> bool
friend

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