std::atomic...g::operator=(3)

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

πŸ’… std::atomic_flag::operator= πŸ’…

okay so this is the std::atomic...g::operator=(3) page from the C++ Standard Libary manual, and it's all about std::atomic_flag::operator=. πŸŽ€


🌸 NAME 🌸

std::atomic_flag::operator= β€” std::atomic_flag::operator=


✨ Synopsis ✨

Defined in header <atomic>:

atomic_flag& operator=( const atomic_flag& ) = delete;          (1)
(since C++11)

atomic_flag& operator=( const atomic_flag& ) volatile = delete; (2)
(since C++11)

so yeah bestie, the vibe check is brutal: std::atomic_flag is not assignable, and its assignment operators are deleted. literally no assignment allowed, periodt. πŸ’€βœ¨


🫢 that's the whole page β€” source: http://cppreference.com, date/version: 2024.06.10, page label: std::atomic...g::operator=(3). πŸ’–

πŸ“¦ where this page comes from