9 #ifndef list_searchable_H 10 #define list_searchable_H 44 template <
typename PTR>
49 if (it->get() == ptr)
return it;
55 template <
typename PTR>
60 if (it->pointer() == ptr)
return it;
This class implements a STL container with features of both, a std::set and a std::list.
EIGEN_STRONG_INLINE iterator begin()
EIGEN_STRONG_INLINE void push_back(Scalar val)
Insert an element at the end of the container (for 1D vectors/arrays)
const Scalar * const_iterator
const_iterator find(const KEY &key) const
std::list< T >::const_iterator find(const T &i) const
std::list< T >::iterator find_ptr_to(const PTR ptr)
Finds an element in a list of smart pointers, having "->pointer()", such as it matches a given plain ...
std::list< T >::const_iterator find_ptr_to(const PTR ptr) const
Finds an element in a list of smart pointers, having "->pointer()", such as it matches a given plain ...
GLsizei const GLchar ** string
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::list< T >::iterator find(const T &i)