Re:I can't keep up with idiomatic Rust
by baq on Thursday April 09, 2020 @09:04AM
(#22822115)
20 year old C++ has absolutely no chance to compile with a modern compiler unless it has a compatibility option for 20 year old C++ and you know how to enable it. i've had to fix 2 year old code when upgrading gcc.
[ Parent
| on HN ]
What breaking changes have gone in since 2000 that didn’t break a change added after 2000?
Auto is the only one I can think of.
Re:I can't keep up with idiomatic Rust
by steveklabnik on Thursday April 09, 2020 @10:44AM
(#22822993)
When were trigraphs added?
(I am just curious, I have no idea how common your parent's comment is in real life.)
Pretty sure gcc doesn't enable trigraphs unless you pass a command-line option to do so (and maybe it's included in -std or -ansi or something like that).
i've had issues with templates, but please forgive me if i don't provide specifics because it was ages ago. i've stopped doing C++ long before auto was even proposed so can't comment on that.