Hey I have a fairly simple question that some quick google searches couldnt solve so I'm coming here for some help.
I'm having trouble just getting my assignment off the ground because I can't even write the skeleton code!
Basically I have a header file like so:
namespace foo{
class A {
public:
class B {
B();
int size();
const int last();
};
};
}
And I want to know how to refer to these guys outside of the file in a implementation file.
BONUS:
namespace foo{
template<typename T>
typename
class A {
public:
class B {
B();
int size();
const int last();
};
};
}
how are these functions referred to as?
Is there a formula I can follow when it comes to this or is it more of flexible, different for your needs kinda thing?
Thanks for the help!
I'm using visual studios if that changes anything...