std::latch::max(3)

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

πŸ’– std::latch::max πŸ’–

okay so bestie, welcome to std::latch::max(3), folded fresh out of the C++ Standard Libary manual ✨ and honestly? it's a short one, but it still ate. πŸ’…


🌸 NAME 🌸

std::latch::max β€” yep, that's the name: std::latch::max. no extra lore, no plot twist, just exactly that. πŸŽ€


✨ Synopsis ✨

static constexpr std::ptrdiff_t max() noexcept;  (since C++20)

It returns the maximum value of the internal counter supported by the implementation. πŸ”₯


πŸŽ€ Parameters πŸŽ€

None, bestie β€” literally (none). zero arguments, no little side quests, nothing to pass in. 🫢


πŸ¦‹ Return value πŸ¦‹

The maximum value of the internal counter supported by the implementation. that's the whole vibe. πŸ’œ


lowkey iconic how short this page is. no cap, we love a concise queen. πŸ‘‘

cute little sign-off, bestie: source is http://cppreference.com, dated 2024.06.10, page std::latch::max(3) β€” bye and slay πŸ’–πŸŒˆ

πŸ“¦ where this page comes from