I have this typedef in Ogre3D:
namespace Ogre {
typedef vector<String>::type StringVector;
...
}
What is the “::” operator for? Does it do anything? As it is, I think this is a vector of strings – a StringVector. Correct?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Defines a type
StringVectorwhich isvector<String>::type.It seems like
typeis a type, defined insidevector(which istemplate class)::is called “scope resolution operator”.