A
Anonymous
I have problems compiling the ff line:
std::sort(sequence_set.begin(), sequence_set.end());
Error 2 error C2784: 'reverse_iterator<_RanIt>::difference_type
std:
perator -(const std::reverse_iterator<_RanIt> &,const
std::reverse_iterator<_RanIt2> &)' : could not deduce template argument
for 'const std::reverse_iterator<_RanIt> &' from
'std::_Tree<_Traits>::iterator' c:\program files\microsoft visual
studio 8\vc\include\algorithm 2754
The variable sequence_set is of type std::set, and contains classes
which have the ff comparison operators defined:
'==', '>', and '<' (equality, greater than and less than)
std::sort(sequence_set.begin(), sequence_set.end());
Error 2 error C2784: 'reverse_iterator<_RanIt>::difference_type
std:
std::reverse_iterator<_RanIt2> &)' : could not deduce template argument
for 'const std::reverse_iterator<_RanIt> &' from
'std::_Tree<_Traits>::iterator' c:\program files\microsoft visual
studio 8\vc\include\algorithm 2754
The variable sequence_set is of type std::set, and contains classes
which have the ff comparison operators defined:
'==', '>', and '<' (equality, greater than and less than)