1 #ifndef CPPUNIT_TOOLS_ALGORITHM_H_INCLUDED
2 #define CPPUNIT_TOOLS_ALGORITHM_H_INCLUDED
8 template<
class SequenceType,
class ValueType>
11 const ValueType &valueToRemove )
13 for (
unsigned int index =0; index < sequence.size(); ++index )
15 if ( sequence[ index ] == valueToRemove )
16 sequence.erase( sequence.begin() + index );
23 #endif // CPPUNIT_TOOLS_ALGORITHM_H_INCLUDED