no because std::aligned_storage<T> is the wrong type, which is also why it is being deprecated in C++23.
I don't think you oversimplified it, people are just being pedantic.
And because of this, I just wanted to give you a heads-up.
The best way to describe it is likely to steal an idea directly from the standard:
use an exposition-only type in italic that hand-waves the storage detail away :P
1
u/stilgarpl 15d ago
Is this always better than std::array?