Comment Re:Did they finally fix calling a virtual function (Score 1) 286
Uh, doesn't it already work that way? And hasn't it been that way for years?
---
I type this every time
Uh, doesn't it already work that way? And hasn't it been that way for years?
---
I type this every time
Oh man, can't believe I forgot structured binding, which just snuck in under the wire.
That practically _is_ parameterized gussets, don't you think?
I can't see any other syntax for parameterized gussets that would be closer to what PG#++ has, and still be valid C++.
(But I actually think PG is overblown anyhow...)
---
I type this every time.
Still no functional gonkulators. Still no encabulation templates. Still no dichroic monads or parameterized gussets. When will the C++ committee ever get around to adding modern language features that users actually want?
To be fair, you can get most of that with template metaprogramming, fold expressions, constexpr, mixed with relaxed atomics.
And thus the new if constexpr and template auto stuff will definitely help.
But it _would_ be nice to have more native dichroic syntax. Hopefully that is coming. Once we get that, the rest would become _really_ slick.
Particularly if you use the coroutine and transactional memory TSes.
---
I type this every time.
The person who's taking you to lunch has no intention of paying.