$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
Subject: [Boost-users] [Proto] How to access the grammar of an expression?
From: Roland Bock (rbock_at_[hidden])
Date: 2010-09-24 08:33:11
Hi,
ist there a way to access the grammar that was used to construct an
expression?
I have defined a metafunction
template<class Left, class Right>
struct grammar_less: mpl::false_ {};
which has specialization for some grammar combinations.
Now I want to define a function that can take two arguments so that
child0.grammar < child1.grammar
Any idea how to do that? My test-code is attached.
Regards,
Roland