On Tue, Nov 11, 2008 at 14:46, Henning Thielemann
<[EMAIL PROTECTED]> wrote:
> SWIG helps wrapping C++ libraries by providing C wrappers to C++ functions.
> However, as far as I know, templates cannot be wrapped as they are, but only
> instances of templates. Thus there is no wrapper to STL.

Maybe my understanding is a bit off, but isn't this to be expected?
There's no way to compile a generic template to machine code, as
template instantiation happens at source level in C++.

cheers,
Arnar
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to