Suppose I have a C++ class with a bunch of methods that act as callbacks.

My callbacks will be hit if I derive the class and implement the
methods I'm interested in.

Now, I would like to wrap this class from OCaml.

This is straightforward from using OCaml classes (section 18.3.5 of
the manual) but is there a way to implement this using modules?

I don't think this is possible but would like to confirm.

    Thanks, Joel

--------------------------------------------------------------------------
Working on AlgoKit, a new algorithmic trading platform using Rithmic R|API
---------------------+------------+---------------------------------------
http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
---------------------+------------+---------------------------------------

-- 
Caml-list mailing list.  Subscription management and archives:
https://sympa-roc.inria.fr/wws/info/caml-list
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
Bug reports: http://caml.inria.fr/bin/caml-bugs

Reply via email to