On 10/18/2011 05:53 AM, Eric Niebler wrote:
On 10/12/2011 2:24 PM, Mathias Gaunard wrote:
There seems to be a significant problem with the unary function node
(and by that I mean (*this)() ) generated by proto::extends and
BOOST_PROTO_EXTENDS_USING_FUNCTION().
<snip>

Sorry for the delay, and I'm afraid I don't have news except to say that
this is on my radar. I hope to look into this soon. But if someone were
to beat me to it, that'd be pretty awesome. :-)


I don't think it can really be fixed in C++03.
In C++11 though, it's pretty easy, you can just make it a template with a default template argument.
_______________________________________________
proto mailing list
proto@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/proto

Reply via email to