|
Boost : |
From: David Greene (greened_at_[hidden])
Date: 2006-03-09 13:43:41
Oliver.Kowalke_at_[hidden] 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk