
6 Mar
2008
6 Mar
'08
8:16 p.m.
Phil Endecott wrote:
I fear this could be the first of a stream of feeble questions as I try to provoke Proto into life:
No sweat. <snip>
if I wanted to make the 10+20 subexpression a proto expression, I'd need to somehow taint or cast 10. How would I do that?
proto::as_expr() is useful for this. Guess I should say that in the docs, somewhere. -- Eric Niebler Boost Consulting www.boost-consulting.com