Boost logo

Boost :

From: Eric Niebler (eric_at_[hidden])
Date: 2008-03-06 15:16:59


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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk