
2 Nov
2008
2 Nov
'08
4:40 p.m.
Let's say I have a grammar which have the following terminal proto::terminal<std::pair<_,_>> I want to retrieve the first type of the pair in the terminal. Can I write : when< terminal< pair<_,_> >, _value::first()> or should I wrote a small meta-function that extract this type ? when< terminal< pair<_,_> >, first_(_value)> TIA -- ___________________________________________ Joel Falcou - Assistant Professor PARALL Team - LRI - Universite Paris Sud XI Tel : (+33)1 69 15 66 35