B
Birthe Gebhardt
Dear all,
I could not find the way to handle 'not normal' list objects, for example
using remove_if, find etc.
Example :
class Todo
{
public :
..
int getNumber(){ return num_;}
private:
int num_
}
int main(void)
{
list<Todo> lst_Todo;
...
// here comes the problem
lst_Todo.remove_if(???); // where num_ = x
}
The other constelation is: list<vector<vektor<int> > >
Have someone an idea who to talk with this objects ?
Many thanks.
brgds,
Birthe
I could not find the way to handle 'not normal' list objects, for example
using remove_if, find etc.
Example :
class Todo
{
public :
..
int getNumber(){ return num_;}
private:
int num_
}
int main(void)
{
list<Todo> lst_Todo;
...
// here comes the problem
lst_Todo.remove_if(???); // where num_ = x
}
The other constelation is: list<vector<vektor<int> > >
Have someone an idea who to talk with this objects ?
Many thanks.
brgds,
Birthe