Boost logo

Boost Users :

From: Alexandre Carsac (acarsac_at_[hidden])
Date: 2003-03-13 09:09:01


Hi, (this is afternoon in France)
i do not know if some boost lib exist, but if you can not change the code, some computational burden will still remains.
Furthermore, i guess that some of the methods of sc_out<T> takes some templatized parameters. If not this means that T is just an internal detail implememtation.
>I would like to cast the polymorphic object (*o) without to >know the template type T of sc_out<T>.

If tou are just anoyed by making the conversion you can make a templatized converter from an sc_object to an sc_out, :

template <class T> sc_out<T> convert(sc_object *o)

---------------------------------
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Testez le nouveau Yahoo! Mail

[Non-text portions of this message have been removed]


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