Boost logo

Boost Users :

From: Andreas Huber (ahd6974-spamboostorgtrap_at_[hidden])
Date: 2007-04-12 16:36:47


Andreas Huber wrote:
> access to the custom base. This is demonstrated with events here:

I meant states instead of events.

> What is stopping you to declare theGenericEvent variable above as
> event_base type?

More precisely, why don't you call as follows:

boost::intrusive_ptr<const event_base> theGenericEvent =
the_function_in_question(line);

-- 
Andreas Huber
When replying by private email, please remove the words spam and trap
from the address shown in the header. 

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