Can anyone tell me what the advantage of declaring a class as follows is?
Code:
class CQueue
{
// Class scope variables
struct Node { Item item; struct Node *next;};

private:
...
public:
...
};
What is the benefit of declaring the struct for the queue outside of the scope modifier tags? Woudln't declaring it as public be exactly the same?