|
Boost : |
Subject: Re: [boost] [config] explicit call of operator templates / msvc bug workaround
From: Stefan Strasser (strasser_at_[hidden])
Date: 2010-05-30 04:06:36
if the Boost.Config maintainer wants BOOST_NESTED_OPERATOR_TEMPLATE to
be part of Boost.Config, let me know.
I can provide a patch for config code, documentation and pass/fail
tests, but I'm not very familiar with the boost test/build system, so
you'd have to add it there.
Stefan
Zitat von David Abrahams <dave_at_[hidden]>:
> 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
> (http://en.wikipedia.org/wiki/Functor).
>
> --
> Dave Abrahams Meet me at BoostCon: http://www.boostcon.com
> BoostPro Computing
> http://www.boostpro.com
>
> _______________________________________________
> Unsubscribe & other changes:
> http://lists.boost.org/mailman/listinfo.cgi/boost
>
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk