M
matthew polder
Hi,
I have two libraries that used different namespaces, call them "fruit" and
"vegetable." In one of the class definitions of fruit, I have the following.
class corn; //This doesn't work.
namespace fruit
{
class Apple
{
Apple( const vegetable::corn& )
{}
};
}
How do I do a forward declaration for something in a namespace?
thanks,
matthew
I have two libraries that used different namespaces, call them "fruit" and
"vegetable." In one of the class definitions of fruit, I have the following.
class corn; //This doesn't work.
namespace fruit
{
class Apple
{
Apple( const vegetable::corn& )
{}
};
}
How do I do a forward declaration for something in a namespace?
thanks,
matthew