I have a block of code like this:
struct CommErr {};
class C {
virtual void Func(int i, const int *ptr, CommErr);
};
...
C c;
c.Func(i, p, {});
CommErr
is not a base class/structure.
What can be the purpose of an empty CommErr
structure?
I have a block of code like this:
struct CommErr {};
class C {
virtual void Func(int i, const int *ptr, CommErr);
};
...
C c;
c.Func(i, p, {});
CommErr
is not a base class/structure.
What can be the purpose of an empty CommErr
structure?