std::mask_a...::mask_array(3)

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

πŸŽ€ NAME πŸŽ€

okay bestie, welcome to the C++ Standard Libary manual page for std::mask_array::mask_array (header vibes: std::mask_a...::mask_array(3)). The name is literally std::mask_array::mask_array β€” that’s it, that’s the name, periodt. πŸ’…


✨ Synopsis ✨

here’s the code, no cap:

          private:                                       (until C++11)
          mask_array();
          public:                                (1)     (since C++11)
          mask_array() = delete;
          public:                                    (2)
          mask_array( const mask_array& other );
  • (1) β€” the default constructor. Until C++11 it’s declared private and not defined; since C++11 it’s explicitly defined as deleted. Either way, mask_array is not DefaultConstructible. not me being unavailable by design 😭
  • (2) β€” constructs a mask_array from another mask_array, named other. iconic behavior fr fr.

🌸 Parameters 🌸

  • other β€” the mask_array to initialize with. that’s the whole vibe 🫢

πŸ¦‹ Defect reports πŸ¦‹

bestie, the following behavior-changing defect reports were applied retroactively to previously published C++ standards:

  • DR LWG 253 β€” applied to C++98. Behavior as published: the copy constructor was private. Correct behavior: made public. slay πŸ’–

k bye bestie 🫢 β€” source/version/date vibes: http://cppreference.com, 2024.06.10, and the manual page is std::mask_a...::mask_array(3). ✨

πŸ“¦ where this page comes from