Boost logo

Boost Users :

From: Felipe Magno de Almeida (felipe.m.almeida_at_[hidden])
Date: 2008-06-20 03:11:36


On Fri, Jun 20, 2008 at 4:09 AM, Felipe Magno de Almeida
<felipe.m.almeida_at_[hidden]> wrote:
> On Thu, Jun 19, 2008 at 5:22 PM, Andreas Huber
> <ahd6974-spamboostorgtrap_at_[hidden]> wrote:
>> "Felipe Magno de Almeida" <felipe.m.almeida_at_[hidden]> wrote in message

Sorry replying to myself, but I must correct somethings.

[snip]

> I was thinking more that boost.statechart would always use a functional factory,
> like boost::function<State*>() to instantiate states.

s/boost::function<State*>()/boost::function<State*()>

> And that when using transit<>(args), transit could create a different
> factory for this
> and pass along.

For example using boost::factory<State*>(args)

> when no argument is given or *can* be given, a simple
> boost::factory<State>() would be used as factory.

s/boost::factory<State>()/boost::factory<State*>()

[snip]

Regards,

-- 
Felipe Magno de Almeida

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