std::barrier::~barrier(3)

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

πŸ’– std::barrier::~barrier πŸ’–

okay so welcome to the C++ Standard Libary manual page for std::barrier::~barrier β€” yes bestie, the destructor itself is the main character here. πŸ’…βœ¨


🌸 NAME 🌸

std::barrier::~barrier β€” std::barrier::~barrier


✨ Synopsis ✨

~barrier();  (since C++20)

Destroys the barrier. That's the whole vibe β€” it literally destroys the barrier. πŸ«ΆπŸ’€


πŸ’… Notes πŸ’…

The behavior is undefined if any thread is concurrently calling a member function of the barrier. 🚨

fr fr, undefined behavior is not a cute look β€” if another thread is concurrently calling a member function of the barrier, the behavior is undefined. periodt. 😭πŸ”₯


made with πŸ’– from http://cppreference.com β€’ version/date vibes: 2024.06.10 β€’ slay, bye πŸ‘‹πŸŽ€

πŸ“¦ where this page comes from