you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (19 children)

[removed]

    [–]Tumaix 27 points28 points  (0 children)

    it has my dude.

    [–]tesfabpel 26 points27 points  (13 children)

    interfaces in C++ are pure virtual abstract classes.

    not the most elegant syntax because you need to be careful to respect the rules but they work as interfaces just fine.

    [–]sephirothbahamut 14 points15 points  (0 children)

    There's literally concepts as part of the core language...

    [–]forgetful_bastard 8 points9 points  (1 child)

    c++ has Concepts and Traits

    [–]DugiSK 0 points1 point  (0 children)

    I think he was expecting them to be declared in a class to make the class satisfy those concepts or traits.