Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2007-10-12 14:32:10


on Wed Oct 10 2007, Michael Marcin <mmarcin-AT-method-solutions.com> wrote:

> As an aside it's syntactically heavy to have to qualify each placeholder
> with "boost::mpl::". Unfortunately if I don't do that it picks up
> boost::bind placeholders from an unnamed namespace and gives an
> impressive spew of error messages.

namespace m = boost::mpl::placeholders;
typedef is_same<m::_1,int> is_int;

HTH,

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net