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

last_spec is an empty tag type that is used in conjunction with other calendar types to indicate the last thing in a sequence. More...

#include <last_spec.hpp>

Public Member Functions

 last_spec ()=default
 

Related Symbols

(Note that these are not member symbols.)

constexpr auto last = last_spec{}
 

Detailed Description

last_spec is an empty tag type that is used in conjunction with other calendar types to indicate the last thing in a sequence.

Depending on context, it may indicate the last day of a month (as in 2018y/February/last, for last day of February 2018, i.e., 2018-02-28) or the last day of the week in a month (as in 2018/February/Sunday[last], for last Sunday of February 2018, i.e., 2018-02-25).

https://en.cppreference.com/w/cpp/chrono/last_spec

Constructor & Destructor Documentation

◆ last_spec()

last_spec ( )
explicitdefault

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