30#include <initializer_list>
53 template <
class T>
class List
56#ifndef DO_NOT_DOCUMENT
57 using Iterator =
typename std::list<T>::iterator;
58 using ConstIterator =
typename std::list<T>::const_iterator;
76 List(std::initializer_list<T> init);
112 ConstIterator
end()
const;
127 Iterator
insert(Iterator it,
const T &item);
190 ConstIterator
find(
const T &value)
const;
195 ConstIterator
cfind(
const T &value)
const;
300 template<
class Compare>
312#ifndef DO_NOT_DOCUMENT
313 template <
class TP>
class ListPrivate;
314 std::shared_ptr<ListPrivate<T>> d;
A generic, implicitly shared list.
Definition: tlist.h:54
T & operator[](unsigned int i)
List< T > & operator=(const List< T > &l)
ConstIterator cbegin() const
Iterator insert(Iterator it, const T &item)
List< T > & sortedInsert(const T &value, bool unique=false)
Iterator erase(Iterator it)
List< T > & append(const T &item)
ConstIterator cend() const
ConstIterator find(const T &value) const
void swap(List< T > &l) noexcept
void setAutoDelete(bool autoDelete)
void sort(Compare &&comp)
Iterator find(const T &value)
const T & operator[](unsigned int i) const
ConstIterator cfind(const T &value) const
List< T > & prepend(const T &item)
List< T > & append(const List< T > &l)
ConstIterator begin() const
List< T > & prepend(const List< T > &l)
unsigned int size() const
bool operator==(const List< T > &l) const
List< T > & operator=(std::initializer_list< T > init)
List(std::initializer_list< T > init)
ConstIterator end() const
bool contains(const T &value) const
bool operator!=(const List< T > &l) const
A namespace for all TagLib related classes and functions.
Definition: apefile.h:41