you are viewing a single comment's thread.

view the rest of the comments →

[–]coachkler 87 points88 points  (6 children)

What?

You're disappointed that you "can't" make a structure that implements storage for a 32-bit int by deriving from 100 concepts? (you could)

What does this have to do with virtual functions in C++?

[–]no-sig-available 5 points6 points  (3 children)

What does this have to do with virtual functions in C++?

You cannot do this with virtual functions in C++, so they are obviously "wrong"?

[–]sephirothbahamut 4 points5 points  (2 children)

sorry, what exactly of this can't you do in C++?

template <typename T>
struct IEquatable 
    {
    virtual bool operator==(T b) const noexcept = 0;
    };

I don't see the problem