
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@boostpro.com>:
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