22 #ifndef _TPLLISTEENTITE_
23 #define _TPLLISTEENTITE_
45 typename std::vector<X>::iterator i=std::find(
lst_X.begin(),
lst_X.end(),x);
46 while( i !=
lst_X.end())
54 if (num1>
get_nb()-1)
return;
55 if (num1>=
get_nb())
return;
56 if (num2<num1)
return;
58 typename std::vector<X>::iterator i=
lst_X.begin()+num1;
59 typename std::vector<X>::iterator j=
lst_X.begin()+num2+1;
72 virtual X
get(
int num)
84 if (
lst_X.size()==0)
return 0;
85 typename std::vector<X>::iterator i=std::find(
lst_X.begin(),
lst_X.end(),x);
86 if (i==
lst_X.end())
return 0;
87 if ((*i)==x)
return 1;