
9 Mar
2006
9 Mar
'06
6:43 p.m.
Oliver.Kowalke@infineon.com wrote:
Hello, the code below doesn't compile (gcc-3.4.6 on Linux). 'transit in scope not defined' Any glue? Regards, Oliver
{ return transit< Z< S > >(); } <<=== error
Try { return this->template transit< Z< S > >(); } Can anyone comment on whay this is necessary? Is it standard behavior or a gcc limitation? gcc 4 has the same issue. If it is standard behavior, then the statechart docs need to be updated to reflect that because right now they don't include the "this->template " part. -Dave