[Top][All Lists]
[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!
- [Toon-members] STL containers with TooN,
Gabriel Nützi <=
- [Toon-members] Re: STL containers with TooN, Gabriel Nützi, 2010/01/11
- Re: [Toon-members] Re: STL containers with TooN, Gerhard Reitmayr, 2010/01/13
- Re: [Toon-members] Re: STL containers with TooN, E. Rosten, 2010/01/13
- Re: [Toon-members] Re: STL containers with TooN, Gerhard Reitmayr, 2010/01/13
- Re: [Toon-members] Re: STL containers with TooN, E. Rosten, 2010/01/18