Boost logo

Boost Users :

Subject: [Boost-users] [Statechart] Pass variable parameter to Player ctor?
From: Dick Bridges (Dick.Bridges_at_[hidden])
Date: 2012-05-10 01:47:36


In the PingPong example, I'm trying to pass a std::string variable to the Player ctor through the fifo_schedular<>create_processor<>() in main(). No joy. Error: no matching signature.

I'm missing something obvious. I've stared at that first override in the boost header and tried everything I could think of. Dead give away that I don't understand: I'm "trying" things. %>[

I'd sure appreciate it if someone could point me in the right direction. Are there async examples that pass variables through create_processor() to the ctorS?

Thanks for taking the time to read this,
Dick



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