using

using declarationとusing directiveの使い方(使い分け)を覚えた。



using namespace std;
using namespace boost::xpressive;

としてしまうと、std::setとboost::xpressive::setの名前が衝突して困ったなー、と思っていたのだけれど、boost::xpressive::setを使いたいスコープで

using boost::xpressive::set;

とやってやれば set は boost::xpressive::set を指すように指定できるらしい。問題が一つ解決。