Boost logo

Proto :

Subject: Re: [proto] proto::expr vs. proto::basic_expr
From: Eric Niebler (eric_at_[hidden])
Date: 2011-05-16 08:49:11


On 5/16/2011 12:31 PM, Thomas Heller wrote:
> You might get even faster. I noticed some places in proto that still
> instantiate a proto::expr.
> That is in the creation of operators (the lazy_matches in
> operators.hpp) instantiate a proto::expr. And the generator of
> basic_expr is the default generator which instantiates, when called a
> proto::expr as well. Not sure if that may actually matter

Yeah, THAT's not right. Thanks for pointing it out. I fixed the problem
on trunk. I had to muck with domain deduction, which makes me nervous.
The regression tests aren't running right now, so please let me know if
you spot any problems.

Thanks,

-- 
Eric Niebler
BoostPro Computing
http://www.boostpro.com

Proto list run by eric at boostpro.com