Incase it doesn't show up:

you are viewing a single comment's thread
view the rest of the comments
[–] 6 points 2 years ago (3 children)

An abstract class with no member variables serves the same purpose in C++.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 2 points 2 years ago (2 children)

    The only problem is to ensure the entire team agrees to only use it like an interface and nothing else. But I guess that’s the only proper way to do it in C++, for now.

  • source
  • parent
  • hideshow 2 child comments