Displaying 1 result from an estimated 1 matches for "e6feddf2".
2019 Jan 16
2
Skipping construction/destruction of stack allocated objects
Hello,
For performance reasons, I would like to provide a way to skip
construction/destruction of objects that are stack allocated. Typically,
C-style arrays of std::complex create an initialization loops that is
almost always unnecessary.
I am thinking of providing an __attribute__((uninitialized)) that can be
applied to an object declaration:
{
std::complex<float> foo[64][64]