
Hi,
I have a grammar, domain and an extended expression i.e.
struct ga_domain : proto::domain

On 4/29/2010 9:44 PM, Robert Valkenburg wrote:
When the expression is transformed some instances of the ga_expr<> wrapper get removed. For example <snip>
This sounds like a bug in the pass_through transform. Can you file a bug (https://svn.boost.org/trac/boost/) with the faulty code and I'll investigate when I have a sec. Note: I'll be super-busy until after BoostCon. :-( Thanks, -- Eric Niebler BoostPro Computing http://www.boostpro.com

On Fri, Apr 30, 2010 at 5:37 PM, Eric Niebler
This sounds like a bug in the pass_through transform. Can you file a bug (https://svn.boost.org/trac/boost/) with the faulty code and I'll investigate when I have a sec.
Thanks for the quick response. Sure i'll file a bug report, but i'm not convinced its not just me misunderstanding something. BTW Proto (+ MPL) is very cool - i'm optimising geometric algebra expressions that i would not have really considered practically tractable before.

Robert Valkenburg wrote: <snip> I never encountered that with my own set of transform. Do you have a small code that cna be compiled out of nowehere ?

On Fri, Apr 30, 2010 at 6:27 PM, Joel Falcou
I never encountered that with my own set of transform.
Do you have a small code that cna be compiled out of nowehere ?
I will prepare the smallest self contained fragment i can get away with and post tomorrow.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users

On Fri, Apr 30, 2010 at 6:27 PM, Joel Falcou
I never encountered that with my own set of transform.
Do you have a small code that cna be compiled out of nowehere ?
I've attached a smallish (~160 lines) file that only depends on
"boost/proto/proto.hpp"
I still get the unwrapping (gcc 4.4.1 linux FC 11, x86_64 platform) as
follows
g++ -Wall -I/home/users/robert/linux_x86_64/src/boost_1_42_0
test_boost_proto.cpp -o test_boost_proto
test_boost_proto.cpp: In function ‘void clifford::evaluate(Res&, const
clifford::ga_expr<Expr>&) [with Res =
clifford::multivector
participants (3)
-
Eric Niebler
-
Joel Falcou
-
Robert Valkenburg