4#ifndef TETL_CHRONO_WEEKDAY_INDEXED_HPP
5#define TETL_CHRONO_WEEKDAY_INDEXED_HPP
7#include <etl/_chrono/weekday.hpp>
17 , _index{
static_cast<
etl::uint8_t>(index)}
48 return {*
this, index
};
Definition adjacent_find.hpp:9
Definition weekday_indexed.hpp:12
constexpr auto index() const noexcept -> unsigned
Definition weekday_indexed.hpp:26
constexpr auto ok() const noexcept -> bool
Definition weekday_indexed.hpp:31
constexpr auto weekday() const noexcept -> etl::chrono::weekday
Definition weekday_indexed.hpp:21
weekday_indexed()=default
constexpr weekday_indexed(etl::chrono::weekday const &wd, unsigned index) noexcept
Definition weekday_indexed.hpp:15
friend constexpr auto operator==(weekday_indexed const &lhs, weekday_indexed const &rhs) noexcept -> bool
Definition weekday_indexed.hpp:36
Definition weekday.hpp:19
constexpr auto ok() const noexcept -> bool
Definition weekday.hpp:81
constexpr auto operator[](unsigned index) const noexcept -> weekday_indexed
Definition weekday_indexed.hpp:46
friend constexpr auto operator==(weekday const &lhs, weekday const &rhs) noexcept -> bool
Definition weekday.hpp:92