AnySet Documentation
|
Classes | |
struct | MakeCopyTag |
Public Types | |
using | value_type = AnyValue< Hash, Compare > |
using | reference = value_type & |
using | const_reference = const value_type & |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | size_type = std::size_t |
using | difference_type = std::ptrdiff_t |
using | iterator = Iterator< false > |
using | const_iterator = Iterator< true > |
Public Member Functions | |
void | _assert_invariants () const |
AnyList (const self_type &)=delete | |
AnyList (self_type &&other) noexcept | |
AnyList & | operator= (const self_type &)=delete |
AnyList (const self_type &other, MakeCopyTag) | |
self_type & | operator= (self_type &&other) noexcept |
iterator | begin () |
const_iterator | begin () const |
const_iterator | cbegin () const |
iterator | end () |
const_iterator | end () const |
const_iterator | cend () const |
void | swap (self_type &other) noexcept |
std::size_t | clear () noexcept |
iterator | push_back (std::unique_ptr< value_type > &&node) |
std::pair< std::unique_ptr< value_type >, iterator > | pop (const_iterator p) |
iterator | splice (const_iterator p, std::unique_ptr< value_type > &&node) noexcept |
iterator | erase (const_iterator p) |
std::pair< iterator, std::size_t > | erase (const_iterator first, const_iterator last) |
size_type | size () const noexcept |
bool | empty () const noexcept |
Static Public Attributes | |
static constexpr const MakeCopyTag | make_copy = MakeCopyTag{} |
Friends | |
void | swap (self_type &left, self_type &right) |