Questions tagged «global-namespace»

9
前置双冒号“ ::”是什么意思?
我在必须修改的类中找到了以下代码行: ::Configuration * tmpCo = m_configurationDB;//pointer to current db 而且我不知道在类名前面加双冒号到底是什么意思。否则,我会读到:tmpCo作为类的对象的指针的声明Configuration...但是前置的双冒号使我感到困惑。 我还发现: typedef ::config::set ConfigSet;
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.