Scarab  v2.4.11
Project 8 C++ Utility Library
Public Member Functions | Private Attributes | List of all members
weekday_indexed Class Reference

#include <date.h>

Public Member Functions

 weekday_indexed ()=default
 
constexpr weekday_indexed (const date::weekday &wd, unsigned index) noexcept
 
constexpr date::weekday weekday () const noexcept
 
constexpr unsigned index () const noexcept
 
constexpr bool ok () const noexcept
 

Private Attributes

unsigned char wd_: 4
 
unsigned char index_: 4
 

Detailed Description

Definition at line 452 of file date.h.

Constructor & Destructor Documentation

◆ weekday_indexed() [1/2]

weekday_indexed ( )
default

◆ weekday_indexed() [2/2]

constexpr weekday_indexed ( const date::weekday wd,
unsigned  index 
)
inlinenoexcept

Definition at line 1888 of file date.h.

Member Function Documentation

◆ index()

constexpr unsigned index ( ) const
inlinenoexcept

Definition at line 1871 of file date.h.

◆ ok()

constexpr bool ok ( ) const
inlinenoexcept

Definition at line 1876 of file date.h.

◆ weekday()

constexpr weekday weekday ( ) const
inlinenoexcept

Definition at line 1866 of file date.h.

Member Data Documentation

◆ index_

unsigned char index_
private

Definition at line 455 of file date.h.

◆ wd_

unsigned char wd_
private

Definition at line 454 of file date.h.


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