25 void insert(
const T& o) { std::list<T>::push_back(o); }
26 typename std::list<T>::iterator
find(
const T& i)
31 typename std::list<T>::const_iterator
find(
const T& i)
const 38 template <
typename PTR>
42 if (it->get() == ptr)
return it;
48 template <
typename PTR>
49 typename std::list<T>::const_iterator
find_ptr_to(
const PTR ptr)
const 53 if (it->pointer() == ptr)
return it;
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 ...
std::list< T >::iterator find(const T &i)
std::list< T >::const_iterator find(const T &i) const
const_iterator find(const KEY &key) 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 ...
This class implements a STL container with features of both, a std::set and a std::list.
const_iterator begin() const