4 ms·
Well given that the order of the headers matter, wouldn't it make sense to have the coding standard specify one true include order ? That's the only way to have
by antoinealb 7y ago
Well given that the order of the headers matter, wouldn't it make sense to have the coding standard specify one true include order ? That's the only way to have a deterministic result.
- yifanl 7y agoThat ties namespacing to performance, which just sounds horrible to deal with.
- antoinealb 7y agoOf course, the bug is horrible. But given that those type of bugs exist, having a fixed ordering of include statements seem like the least painful way to go.