Quick Links: |
#include <bslstl_list.h>
Public Types | |
typedef VALUE & | reference |
typedef const VALUE & | const_reference |
typedef List_Iterator< VALUE > | iterator |
typedef List_Iterator< const VALUE > | const_iterator |
typedef allocator_traits < ALLOCATOR >::pointer | pointer |
typedef allocator_traits < ALLOCATOR >::const_pointer | const_pointer |
typedef allocator_traits < ALLOCATOR >::size_type | size_type |
typedef allocator_traits < ALLOCATOR >::difference_type | difference_type |
typedef VALUE | value_type |
typedef ALLOCATOR | allocator_type |
typedef bsl::reverse_iterator < iterator > | reverse_iterator |
typedef bsl::reverse_iterator < const_iterator > | const_reverse_iterator |
Public Member Functions | |
list () | |
list (const ALLOCATOR &basicAllocator) | |
list (size_type numElements) | |
list (size_type numElements, const ALLOCATOR &basicAllocator) | |
list (size_type numElements, const value_type &value, const ALLOCATOR &basicAllocator=ALLOCATOR()) | |
template<class INPUT_ITERATOR > | |
list (INPUT_ITERATOR first, INPUT_ITERATOR last, const ALLOCATOR &basicAllocator=ALLOCATOR(), typename enable_if< !is_arithmetic< INPUT_ITERATOR >::value &&!is_enum< INPUT_ITERATOR >::value >::type *=0) | |
list (const list &original) | |
list (const list &original, const typename type_identity< ALLOCATOR >::type &basicAllocator) | |
list (BloombergLP::bslmf::MovableRef< list > original) | |
list (BloombergLP::bslmf::MovableRef< list > original, const typename type_identity< ALLOCATOR >::type &basicAllocator) | |
list (std::initializer_list< value_type > values, const ALLOCATOR &basicAllocator=ALLOCATOR()) | |
~list () | |
list & | operator= (const list &rhs) |
list &operator=(BloombergLP::bslmf::MovableRef < list > rhs) BSLS_KEYWORD_NOEXCEPT_SPECIFICATION(AllocTraits list & | operator= (std::initializer_list< value_type > rhs) |
template<class INPUT_ITERATOR > | |
void | assign (INPUT_ITERATOR first, INPUT_ITERATOR last, typename enable_if< !is_arithmetic< INPUT_ITERATOR >::value &&!is_enum< INPUT_ITERATOR >::value >::type *=0) |
void | assign (size_type numElements, const value_type &value) |
void | assign (std::initializer_list< value_type > values) |
iterator | begin () BSLS_KEYWORD_NOEXCEPT |
iterator | end () BSLS_KEYWORD_NOEXCEPT |
reverse_iterator | rbegin () BSLS_KEYWORD_NOEXCEPT |
reverse_iterator | rend () BSLS_KEYWORD_NOEXCEPT |
void | clear () BSLS_KEYWORD_NOEXCEPT |
void | resize (size_type newSize) |
void | resize (size_type newSize, const value_type &value) |
reference | back () |
reference | front () |
void | pop_back () |
void | pop_front () |
iterator | erase (const_iterator position) |
iterator | erase (const_iterator dstBegin, const_iterator dstEnd) |
template<class... ARGS> | |
reference | emplace_back (ARGS &&...arguments) |
template<class... ARGS> | |
reference | emplace_front (ARGS &&...arguments) |
void | push_back (const value_type &value) |
void | push_back (BloombergLP::bslmf::MovableRef< value_type > value) |
void | push_front (const value_type &value) |
void | push_front (BloombergLP::bslmf::MovableRef< value_type > value) |
template<class... ARGS> | |
iterator | emplace (const_iterator position, ARGS &&...arguments) |
iterator | insert (const_iterator dstPosition, const value_type &value) |
iterator | insert (const_iterator dstPosition, BloombergLP::bslmf::MovableRef< value_type > value) |
iterator | insert (const_iterator dstPosition, size_type numElements, const value_type &value) |
template<class INPUT_ITERATOR > | |
iterator | insert (const_iterator dstPosition, INPUT_ITERATOR first, INPUT_ITERATOR last, typename enable_if< !is_arithmetic< INPUT_ITERATOR >::value &&!is_enum< INPUT_ITERATOR >::value >::type *=0) |
iterator | insert (const_iterator dstPosition, std::initializer_list< value_type > values) |
void | merge (list &other) |
void | merge (BloombergLP::bslmf::MovableRef< list > other) |
template<class COMPARE > | |
void | merge (list &other, COMPARE comparator) |
template<class COMPARE > | |
void | merge (BloombergLP::bslmf::MovableRef< list > other, COMPARE comparator) |
void | remove (const value_type &value) |
template<class PREDICATE > | |
void | remove_if (PREDICATE predicate) |
void | reverse () BSLS_KEYWORD_NOEXCEPT |
void | sort () |
template<class COMPARE > | |
void | sort (COMPARE comparator) |
void | splice (const_iterator dstPosition, list &src) |
void | splice (const_iterator dstPosition, BloombergLP::bslmf::MovableRef< list > src) |
void | splice (const_iterator dstPosition, list &src, const_iterator srcNode) |
void | splice (const_iterator dstPosition, BloombergLP::bslmf::MovableRef< list > src, const_iterator srcNode) |
void | splice (const_iterator dstPosition, list &src, const_iterator first, const_iterator last) |
void | splice (const_iterator dstPosition, BloombergLP::bslmf::MovableRef< list > src, const_iterator first, const_iterator last) |
void | unique () |
template<class EQ_PREDICATE > | |
void | unique (EQ_PREDICATE binaryPredicate) |
const_iterator | cbegin () const BSLS_KEYWORD_NOEXCEPT |
const_iterator | end () const BSLS_KEYWORD_NOEXCEPT |
const_iterator | cend () const BSLS_KEYWORD_NOEXCEPT |
const_reverse_iterator | rbegin () const BSLS_KEYWORD_NOEXCEPT |
const_reverse_iterator | crbegin () const BSLS_KEYWORD_NOEXCEPT |
const_reverse_iterator | rend () const BSLS_KEYWORD_NOEXCEPT |
const_reverse_iterator | crend () const BSLS_KEYWORD_NOEXCEPT |
bool | empty () const BSLS_KEYWORD_NOEXCEPT |
size_type | max_size () const BSLS_KEYWORD_NOEXCEPT |
size_type | size () const BSLS_KEYWORD_NOEXCEPT |
const_reference | back () const |
const_reference | front () const |
allocator_type | get_allocator () const BSLS_KEYWORD_NOEXCEPT |
Public Attributes | |
void swap(list &other) BSLS_KEYWORD_NOEXCEPT_SPECIFICATION(AllocTraits const_iterator | begin () const BSLS_KEYWORD_NOEXCEPT |
Friends | |
class | List_NodeProctor< VALUE, ALLOCATOR > |
This class template implements a value-semantic container type holding a sequence of elements of the (template parameter) VALUE
type.