News for hackers. Stuff that matters.
Re:C++ Headers are Expensive by yuushi on Tuesday January 08, 2019 @02:27AM (#18853928)
This doesn't take into account the alignment of the type though (you'd want to use std::aligned_storage<sizeof(T), alignof(T)>), but that requires knowing enough about T to be able to use sizeof() and alignof(), which means no incomplete types, bringing us back to where we started.

There are no comments on this comment yet.