My suggestion:
There are no inheritance, templates, or function overloads in C - there are three main reasons why we use empty structures in C ++ as a base interface, as a template parameter, as a type that helps to overload resolution.
Can you imagine any real use of an empty structure in C?
Armen Tsirunyan
source share