I've been using the Boost libraries, and in Boost.Exception, I've noticed code like the following:
#define BOOST_THROW_EXCEPTION(x) ::boost::throw_exception(x)
Just out of curiosity: what is the purpose of the leading ::
before boost::throw_exception(x)
?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…