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.


> 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

Boost list run by bdawes at, gregod at, cpdaniel at, john at