[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Matwrap and C++ templates
From: |
Ludovic Pénet |
Subject: |
Re: Matwrap and C++ templates |
Date: |
Fri, 30 Sep 2005 10:35:28 +0200 |
Le vendredi 30 septembre 2005 à 08:23 +0800, address@hidden a
écrit :
> G'day all,
>
> I'm trying to use matwrap to compile a number of open source C++ functions.
>
> Most of the functions make use of the standard C++ template <vector>, and
> matwrap complains about this and chokes (unrecognised type).
>
> For the functions that don't use <vector>, matwrap and mkoctfile happily do
> their job.
>
> Has anyone used matwrap with C++ functions that use #include <vector> or other
> templates, and can explain how I should proceed?
>
> Any help much appreciated.
I had the same problems two years ago to handle complex type. I now use
enclosed wrap_octave.pl file in place of the original one. It should
help you to modify wrap_octave.pl to support vectors...
Ludovic
wrap_octave.pl
Description: Perl program