:: scope resolution operator in front of a template function call in c++
问题 I'm stuck with templates and scope resolution operator. I found these line in a file, I'm not able to figure out why we are using :: in front of a template function call, as of my knowledge we can only use :: in front of variables when refering to a global variable. Any Idea will be helpful #define CREATE_AND_DECODE_TYPE(Type, buffer, pType) \ ::CreateAndDecodeType<Type>(buffer, pType, throwVarBindExceptions, static_cast<Type *>(NULL)) 回答1: The scope resolution operator :: (at the beginning)