Hello
Suppose I have:
Is thats the right way of using str_vector data type inside nested class? Or should I use someclass::str_vector instead?Code:class someclass { public: typedef std::vector<std::string> str_vector; class nestedclass { public: nestedclass(str_vector &sv) : str_vector_(sv) { } private: str_vector &str_vector_; }; private: str_vector str_vector_; };