News for hackers. Stuff that matters.
Re:Final features of C++17 by ioquatix on Friday July 01, 2016 @11:46AM (#12017082)
It's useful for interfaces, e.g. virtual public IFoo, is it not?
Re:Final features of C++17 by frozenport on Friday July 01, 2016 @12:06PM (#12017283)
Interfaces should have been compile time, but for reasons I don't know, they weren't implemented as such
Re:Final features of C++17 by evanpw on Friday July 01, 2016 @04:42PM (#12019493)
What would that mean? No dynamic dispatch at all?
Re:Final features of C++17 by frozenport on Friday July 01, 2016 @07:27PM (#12020426)
It's possible to perform compile time de-virtualization. Half the time virtual is used to enforce inheritance rather than virtual dispatch.