Subject: Re: [boost] [config] explicit call of operator templates / msvc bug workaround
From: David Abrahams (dave_at_[hidden])
Date: 2010-05-29 17:01:15
At Sat, 29 May 2010 13:51:55 -0700,
Steven Watanabe wrote:
> > I could, but the functor is a visitor that is provided by the user of
> > this class, while the call of the operator is an implementation
> > detail. so I'd rather use a compiler bug workaround for the call than
> > complicate the visitor interface.
> > operator(): because it's a functor.
> It isn't a functor if you need explicit template arguments.
Well, let's not pick nits over what one should consider a functor,
because nobody's ever defined it well for C++, and there's a good
argument that C++ has totally abused a term of art from elsewhere
-- Dave Abrahams Meet me at BoostCon: http://www.boostcon.com BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk