Unigine::Set Class
Header: | #include <UnigineSet.h> |
A set container template.
Set Class
Members
Set()
Default constructor that produces an empty set.Set(std::initializer_list<Key> list)
Arguments
- std::initializer_list<Key> list
Set(Set<Key, Allocator> && o)
Constructor. Creates a set by copying a source set.Arguments
- Set<Key, Allocator> && o - Source set.
Set(const Set<Key, Allocator> & o)
Constructor. Creates a set by copying a source set.Arguments
- const Set<Key, Allocator> & o - Source set.
void append(const Key & key)
Appends a key.Arguments
- const Key & key - Key.
void append(Key && key)
Appends a key.Arguments
- Key && key - Key.
void insert(Key && key)
Inserts a given key into the set.Arguments
- Key && key - Key.
void insert(const Key & key)
Inserts a given key into the set.Arguments
- const Key & key - Key.
Set<Key, Allocator> & operator=(const Set<Key, Allocator> & o)
Arguments
- const Set<Key, Allocator> & o
Set<Key, Allocator> & operator=(Set<Key, Allocator> && o)
Arguments
- Set<Key, Allocator> && o
void append(const Set<Key, Allocator> & s)
Appends a given set to the current one.Arguments
- const Set<Key, Allocator> & s - Set.
void append(Set<Key, Allocator> && s)
Appends a given set to the current one.Arguments
- Set<Key, Allocator> && s - Set.
void insert(const Set<Key, Allocator> & o)
Inserts a given set into the current one.Arguments
- const Set<Key, Allocator> & o - Set.
void insert(Set<Key, Allocator> && o)
Inserts a given set into the current one.Arguments
- Set<Key, Allocator> && o - Set.
Last update: 10.08.2018
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter