toon-members
[Top][All Lists]
Advanced

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

[Toon-members] STL containers with TooN


From: Gabriel Nützi
Subject: [Toon-members] STL containers with TooN
Date: Sun, 10 Jan 2010 21:37:40 +0100

Hello again

Sorry for my questions, but I am using TooN permanently, with all its advantages... (LU,SymEigen....)

I was wondering, because I need a container which is as fallowing

list < Vector<Dynamic,double> >   myList;

Why does it give RunTime problems and segmentation errors when I try to use the list by inserting and deleting Vectors, it happens also when the Vector is not dynamic ...

Is there any troubles with the containers and TooN?

This crashed in Runtime:

//===================================
list < Vector<Dynamic,double> >   myList;
myList.push_back( makeVector (1,1,1) );
myList.push_back( makeVector (2,1,1) );
myList.push_back( makeVector (3,1,1) );

list < Vector<Dynamic,double> > ::iterator it;

it = myList.begin();
it++;

myList.erase(it);

//=================================


Thanks a lot

Gabriel!




reply via email to

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