std::chrono::month_weekday(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸŽ€ NAME πŸŽ€

std::chrono::month_weekday(3) β€” welcome to the C++ Standard Libary manual page, bestie. This is the whole vibe, and yes it’s a (3) page, iykyk.


🌸 Synopsis 🌸

The page starts with this synopsis line, fr fr:

header  (since C++20)

Okay so month_weekday is the class that represents the n^th weekday of a specific month, of some yet to be specified year. No cap.

month_weekday is a TriviallyCopyable StandardLayoutType, periodt.


✨ Member functions ✨

  • constructor β€” constructs a month_weekday (public member function)
  • month β€” retrieves the stored month and weekday_indexed values (public member function)
  • weekday_indexed β€” public member function
  • ok β€” checks whether the contained month and weekday_indexed are valid (public member function)

πŸ’« Nonmember functions πŸ’«

  • operator== β€” compares two month_weekday values (C++20) (function)
  • operator<< β€” outputs a month_weekday into a stream (C++20) (function template)

🧚 Helper classes 🧚

  • std::formatter<std::chrono::month_weekday> β€” formatting support for month_weekday (C++20) (class template specialization)
  • std::hash<std::chrono::month_weekday> β€” hash support for std::chrono::month_weekday (C++26) (class template specialization)

okay that’s the whole page, bestie. Source/version + date vibes: http://cppreference.com, 2024.06.10, page std::chrono::month_weekday(3). mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from