std::indire...direct_array(3)
okay so this is the std::indire...direct_array(3) page, and the manual name is C++ Standard Libary β yes, thatβs how itβs spelled up in the header, bestie π
. Itβs giving cppreference energy, and weβre about to get into the constructors for std::indirect_array.
π NAME π
std::indirect_array::indirect_array β std::indirect_array::indirect_array (literally the constructor page for std::indirect_array, iconic π).
β¨ Synopsis β¨
private: (until C++11)
indirect_array();
public: (1) (since C++11)
indirect_array() = delete;
public: (2)
indirect_array( const indirect_array& other );
- The default constructor is declared
privateand not defined until C++11; since C++11 itβs explicitly defined as deleted. Either way:indirect_arrayis notDefaultConstructibleπ. No default-construction slay for you, bestie. - Constructs a
indirect_arrayfrom anotherindirect_arrayother. Copy-constructor behavior, periodt π .
πΈ Parameters πΈ
otherβindirect_arrayto initialize with.
π Defect reports π
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 wasprivateβ Correct behavior: madepublic.
Thatβs the whole page, bestie π«Ά source: http://cppreference.com; version/date: 2024.06.10; and the page is std::indire...direct_array(3). Byeee π
β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms