2 ms·
if the concern is build-times, exposing the data layout is harmless Not at all! If your private member variables use any interesting types (and why shouldn't t
by iainmerrick 2y ago
if the concern is build-times, exposing the data layout is harmless
Not at all! If your private member variables use any interesting types (and why shouldn't they?) you need to include all the headers for those types too. That's exactly why you get an explosion of header inclusion.