toon-members
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Toon-members] Small Conversion Problem VS to Xcode


From: Georg Klein
Subject: Re: [Toon-members] Small Conversion Problem VS to Xcode
Date: Thu, 4 Feb 2010 16:42:06 -0800

Does it work if you add "typename" ?

i.e.

typename list< Vector<M,double>,Base >::iterator it;



2010/2/4 Gabriel Nützi <address@hidden>
Hi all

I am converting some files from VS 08 to Xcode

I got into some weird problems, I can not solve? Does anyone know how the fix the following error in ? I dont know whats wrong? In VS 08 it compiled.....

Thanks alot, (@ I did not have time to test SVD and the Complex stuff, will do this in somewhile)


HERE MY CODE
==========================================
#include <list>

#include <TooN/TooN.h>


using namespace std;
using namespace TooN;

int main(){

list<Matrix<Dynamic,4,double,ColMajor> >::iterator it;   //Compiles
}

template<int M, class Base>  
int FilterQ( list<Vector<M,double,Base> > &vec){
list< Vector<M,double>,Base >::iterator it;     //------- ERROR ->  expected `;' before 'it'  
return 1;
}

==========================================

_______________________________________________
Toon-members mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/toon-members



reply via email to

[Prev in Thread] Current Thread [Next in Thread]