Oh
my
God

Thanks man ;)

2009/3/30 Stuart McNicholas <mcnicholas@ysbl.york.ac.uk>
Alexander Kaplan wrote:
Hey there,

Does swig support nested templates? It looks like the following code won't compile in swig:


template< class ParamEnumType >
class ParamCollection
{
  ...
  vector<Param<ParamEnumType>> _params;
};

Is there any way to work around this?

Thank you



Have you tried changing to:

vector<Param<ParamEnumType> > _params;

i.e. a space between the right angle brackets?

Stuart McNicholas