std::slice_array<T>:: slice_array
From cppreference.com
<
cpp
|
numeric
|
valarray
|
slice array
C++
Numerics library
Common mathematical functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mathematical special functions (C++17) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Mathematical constants (C++20) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Basic linear algebra algorithms (C++26) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Data-parallel types (
simd
)
(C++26)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Floating-point environment (C++11) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Complex numbers | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Numeric array (
valarray
)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pseudo-random number generation | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Factor operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Interpolations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Saturation arithmetic | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Generic numeric operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bit operations | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
std::slice_array
Member functions | ||||
slice_array::slice_array
|
||||
(1) | ||
private
:
slice_array ( ) ; |
(until C++11) | |
public
:
slice_array ( ) = delete ; |
(since C++11) | |
public
:
slice_array ( const slice_array & other ) ; |
(2) | |
1)
The default constructor is
declared private and not defined
(until C++11)
explicitly defined as deleted
(since C++11)
:
slice_array
is not
DefaultConstructible
.
2)
Constructs a
slice_array
from another
slice_array
other
.
Parameters
other | - |
slice_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 |
Retrieved from "
https://en.cppreference.com/mwiki/index.php?title=cpp/numeric/valarray/slice_array/slice_array&oldid=120740
"