Quote Originally Posted by Yves M View Post
2) Basically yes. However, you should write a big comment at the start of your class definition that "This inheritance is private and should remain so, suck up to re-writing accessors" ;-)
my class looks something like this

Code:
class myClass : std::vector<int>
{
public:
    //my own functions

public:
    using std::vector<int>::size();
    using std::vector<int>::max_size();
}
rather than re-writing accessors. Is there something wrong with that?

But I agree about the big comment