Closed mkatliar closed 2 years ago
I'm guessing... obscure errors when mis-used ? :)
I'm guessing... obscure errors when mis-used ? :)
This greedy constructor took precedence over the copy ctor.
RAPIDArray a;
RAPIDArray b = a; // this did not compile even though a copy ctor was explicitly added to the class.
I get it now, thanks!
An linitializer list of incorrect size would cause memory corruption.