English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
[Caml-list] C++ templates to OCaml
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-06-19 (21:32)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] C++ templates to OCaml
> I'd venture that you probably want functions and/or modules. Without any
> detail, though, it's difficult to say more.

Ok. Well, I want to rewrite the antigrain geometry library in OCaml
(www.antigrain.com). They make extensive use of chaining together
template classes. So, I'd use a module to represent each template
class, and polymorphic functions?