22class List :
public std::list<T> {
25 using std::list<T>::list;
35 typename std::list<T>::iterator
argmin() {
36 return std::min_element(this->begin(), this->end());
47 typename std::list<T>::iterator
argmax() {
48 return std::max_element(this->begin(), this->end());
A list.
Definition list.h:22
std::list< T >::iterator argmin()
Gets the argmin.
Definition list.h:35
std::list< T >::iterator argmax()
Gets the argmax.
Definition list.h:47