i've seen this in the code and it actually works,
class a
{
public:
a(){}
};
class b
{
public:
b(){}
};
class c:public a,b
{
public:
c():a{},b{}{}
};
So c():a{},b{}
is the place confuses me, shouldn't it be c():a(),b()
instead?
Is that something new in C++11?