Namespaces
Variants

std::chrono::month_weekday:: month_weekday

From cppreference.net
constexpr month_weekday ( const std:: chrono :: month & m,
const std:: chrono :: weekday_indexed & wdi ) noexcept ;
(depuis C++20)

Construit un month_weekday qui stocke le month m et le weekday_indexed wdi .

Notes

Une manière plus pratique de construire un month_weekday est d'utiliser operator / , par exemple, std:: chrono :: April / std:: chrono :: Sunday [ 2 ] .

Voir aussi

(C++20)
syntaxe conventionnelle pour la création de dates du calendrier grégorien
(fonction)