如果多次包含相同的命名空间会有问题吗?
#include<iostream> using namespace custom; using namespace custom;
是否可以将guard应用于名称空间之类的头文件,以便不会多次包含名称空间?(比如#ifndef ...)
c++ c++11
c++ ×1
c++11 ×1