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]

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

Member Function Documentation

◆ index()

auto index ( ) const -> unsigned
inlinenodiscardconstexprnoexcept

◆ ok()

auto ok ( ) const -> bool
inlinenodiscardconstexprnoexcept

◆ weekday()

auto weekday ( ) const -> etl::chrono::weekday
inlinenodiscardconstexprnoexcept

Friends And Related Symbol Documentation

◆ operator==

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

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