On this page
std::indirect_array<T>::indirect_array
(1) | ||
|
(until C++11) | |
|
(since C++11) | |
|
(2) |
1) The default constructor is declared private and not defined(until C++11)explicitly defined as deleted(since C++11):
indirect_array
is not DefaultConstructible.
2) Constructs a
indirect_array
from another indirect_array
other
.
Parameters
other | - | indirect_array to initialize with |
Defect reports
The following behavior-changing defect reports were applied retroactively to previously published C++ standards.
DR | Applied to | Behavior as published | Correct behavior |
---|---|---|---|
LWG 253 | C++98 | the copy constructor was private | made public |
© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
https://en.cppreference.com/w/cpp/numeric/valarray/indirect_array/indirect_array