Recently I came across this peice of code…
class Foo
{
public:
struct Bar
{
short varA;
Bar():varA(0) {} // <- huh?
};
};
Does anyone know what is going on there? Looks like some sort of inheriting going on but I am not sure as to why.
Thanks in advance