Rozumiem, ale nie moge przeciazac operatora< kilka razy nie?? :) a potrzebuje porownywac wedlug roznych rzeczy, za kazdym, razem, gdy user wybierze w menu "wedlug numerow" to wedlug numerow, jesli "wedlug imion" to imiona porownuje... itp....
Wydaje mi sie, ze musze przeciazyc jakies takie rzeczy: operator=, kontruktor kopiujacy i funkcje swap napisac :/
Prosze o podpowiedz, jesli cos jeszcze mam zrobic...
--------------------Configuration: gzg - Win32 Debug--------------------
Compiling...
magazyn.cpp
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByNumberUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByNumberUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByNumberDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByNumberDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByTypeUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByTypeUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByTypeDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByTypeDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRPUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRPUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRPDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRPDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRLUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRLUp,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRLDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator' does not define this operator or a conversion to a type acceptab
le to the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterato
r,class std::list<class Gazomierz *,class std::allocator<class Gazomierz *> >::iterator,class GCheckByRLDown,class Gazomierz ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNameUp,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator' does not define this operator or a conversion to a type acceptable to
the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNameUp,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNameDown,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator' does not define this operator or a conversion to a type acceptable to
the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNameDown,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckBySurnameUp,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator' does not define this operator or a conversion to a type acceptable to
the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckBySurnameUp,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckBySurnameDown,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator' does not define this operator or a conversion to a type acceptable to
the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckBySurnameDown,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNumberUp,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator' does not define this operator or a conversion to a type acceptable to
the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNumberUp,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2784: 'class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> __cdecl std::operator +(_D,const class std::reverse_iterator<_RI,_Ty,_Rt,_Pt,_D> &)' : could not deduce template arg
ument for '' from 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator'
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNumberDown,class Monter ** )' being compiled
c:\program files\microsoft visual studio\vc98\include\algorithm(629) : error C2676: binary '+' : 'class std::list<class Monter *,class std::allocator<class Monter *> >::iterator' does not define this operator or a conversion to a type acceptable to
the predefined operator
c:\program files\microsoft visual studio\vc98\include\algorithm(620) : see reference to function template instantiation 'void __cdecl std::_Insertion_sort_1(class std::list<class Monter *,class std::allocator<class Monter *> >::iterator,clas
s std::list<class Monter *,class std::allocator<class Monter *> >::iterator,class MCheckByNumberDown,class Monter ** )' being compiled
Error executing cl.exe.
gzg.exe - 28 error(s), 0 warning(s)
Pozdro.