3 ms·
That's a list of features. My point was that there are some slight variations induced by optimizations or otherwise which are against the spec.
by Manishearth 11y ago
That's a list of features. My point was that there are some slight variations induced by optimizations or otherwise which are against the spec.
- hellofunk 11y agoI think you are confusing specification with implementation. The C++ standard does not outline how a compiler implements a feature, just how it should behave to match the standard. There are several compilers that 100% adhere to the full standard, including the guarantees specified by the standard in the form of memory and time complexity (optimization).
- Manishearth 11y agoOh, I know that specification != implementation, but IIRC both clang and GCC have certain behaviour which do not conform to the standard. But I can't find these right now, so I'll drop it here :)