there are of course use cases for a struct in a class.
When the struct is in the private section you can bundle some internal data.
And the struct can't be created from outside.
e.g. when I have to store more then two variables in one vector I use a struct for it, thats better then a boost::tuple, because when you acces the data you can better read your code.
You could put a class in the private section of a class and bundle your internal data there too, and it couldn't be created from outside.
The only real difference betwen struct and class is that a struct is by default public, whereas a class is by default private.
How can I use the famous typedef?
Bookmarks