M
mihai
I have a situation witch is like this:
// A.h
class A
{
class AA
{
};
};
// B.h
class B
{
class BB : public A::AA
{
BB();
};
};
// B.cpp
B::BB::BB() : A::AA(args)
{
}
The compiler error is: multiple definition of BB()
when I try to implement the constructor.
Have a nice day,
Mihai.
// A.h
class A
{
class AA
{
};
};
// B.h
class B
{
class BB : public A::AA
{
BB();
};
};
// B.cpp
B::BB::BB() : A::AA(args)
{
}
The compiler error is: multiple definition of BB()
when I try to implement the constructor.
Have a nice day,
Mihai.