
11 Nov
2008
11 Nov
'08
2 p.m.
On Tue, Nov 11, 2008 at 14:46, Henning Thielemann
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