On 7/24/2015 7:28 PM, Jonathan M Davis wrote:
I confess that I've always thought that QueryInterface was a _horrible_ idea,
Specifying every interface that a type must support at the top of the hierarchy is worse. Once again, Exception Specifications.
I suspect that 3 or 4 years after concepts and traits go into wide use, there's going to be a quiet backlash against them. Where, once again, they'll be implementing D's semantics. Heck, C++17 could just as well be renamed C++D :-) given all the D senabtucs they're quietly adopting.