24 template <
class T,
class CONTAINER>
30 return std::string::npos;
36 return cont.erase(it);
const Scalar * const_iterator
double BASE_IMPEXP distance(const TPoint2D &p1, const TPoint2D &p2)
Gets the distance between two points in a 2D space.
size_t find_in_vector(const T &value, const CONTAINER &vect)
Returns the index of the value "T" in the container "vect" (std::vector,std::deque,...
std::list< T >::iterator erase_return_next(std::list< T > &cont, typename std::list< T >::iterator &it)
Calls the standard "erase" method of a STL container, but also returns an iterator to the next elemen...
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.