Boost logo

Boost Users :

From: Juraj Ivančić (juraj.ivancic_at_[hidden])
Date: 2008-07-21 10:01:32


Tony Turner wrote:

> template< typename I >
> struct Start : public sc::state< Start<I>, Inst<I> > {
> Start<I>(my_context ctx ) : my_base( ctx ) {}
> };

try this:

template< typename I >
struct Start : public sc::state< Start<I>, Inst<I> > {
     Start<I>( typename sc::state< Start<I>, Inst<I> >::my_context ctx )
     : my_base( ctx ) {}
};

HTH

Juraj


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net