std::slice_...:slice_array(3)

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

πŸŽ€ std::slice_...:slice_array(3) πŸŽ€

okay bestie, this is the C++ Standard Libary manual page for std::slice_array::slice_array β€” yes, constructor lore, and yes we're doing this πŸ’…βœ¨.

✨ NAME ✨

std::slice_array::slice_array - std::slice_array::slice_array

πŸ“œ Synopsis πŸ“œ

          private:                                         (until C++11)
          slice_array();
          public:                                  (1)     (since C++11)
          slice_array() = delete;
          public:                                      (2)
          slice_array( const slice_array& other );
  1. The default constructor is declared private and not defined (until C++11); it's explicitly defined as deleted (since C++11). Translation: slice_array is not DefaultConstructible, periodt.
  2. Constructs a slice_array from another slice_array, named other.

🧸 Parameters 🧸

  • other β€” the slice_array to initialize with.

🩹 Defect reports 🩹

The following behavior-changing defect reports were applied retroactively to previously published C++ standards β€” receipts time 🧾:

  • DR LWG 253 β€” Applied to: C++98. Behavior as published: the copy constructor was private. Correct behavior: made public.

okay that's the whole page, bestie 🫢 β€” source/version: http://cppreference.com, date: 2024.06.10, and it's the std::slice_...:slice_array(3) footer energy. byeee 🌈✨

πŸ“¦ where this page comes from