Boost logo

Boost Users :

From: Oliver.Kowalke_at_[hidden]
Date: 2006-06-19 05:14:35


Hello,
I've a problem to compile (gcc- 4.1.2) a templated asynchronous state
machine.

error: expected `)' before 'ctx'

template< typename streamT > struct proto;

template< typename streamT >
class presentation
: public sc::asynchronous_state_machine<
        presentation< streamT >,
        proto< streamT >,
        sc::fifo_scheduler<>
>
{
public:
        typedef streamT stream_type;

        presentation( my_context ctx)
        :
        my_base( ctx) // error: expected `)' before
'ctx'
        {}
};

Thanks,
Oliver


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