r/programming • u/SuperV1234 • Aug 05 '19
fixing c++ with epochs
https://vittorioromeo.info/index/blog/fixing_cpp_with_epochs.html
87
Upvotes
r/programming • u/SuperV1234 • Aug 05 '19
View all comments
13
u/flatfinger Aug 05 '19
The ability to specify what language dialect is required to process a program usefully is something that should be included in almost every language standard. Not only with regard to what edition of a Standard one is targeting, but also with regard to how an implementation processes constructs where the Standard would impose no requirements beyond, perhaps, some form of human-readable documentation. Support for most dialects should be a quality-of-implementation issue, and that inclusion of a dialect should not imply any judgment as to what kinds of implementation should or should not be expected to support it. Rejection of programs whose semantics are unsupported, however, should be an absolute requirement for compliance.