#include <py2cpp/set.hpp>
template<typename Key>
set class
| Template parameters | |
|---|---|
| Key | |
Constructors, destructors, conversion operators
- set()
- Construct a new set object.
-
template<typename FwdIter>set(const FwdIter& start, const FwdIter& stop)
- Construct a new set object.
- set(std::initializer_list<Key> init)
- Construct a new set object.
- set(set<Key>&&) defaulted noexcept
- Move Constructor (default)
- set(const set<Key>&) defaulted
- Copy Constructor (deleted)
Public functions
Function documentation
template<typename Key>
py:: set<Key>:: set(std::initializer_list<Key> init)
Construct a new set object.
| Parameters | |
|---|---|
| init in | |
template<typename Key>
auto py:: set<Key>:: contains(const Key& key) const -> bool
| Parameters | |
|---|---|
| key in | |
| Returns | true |
template<typename Key>
auto py:: set<Key>:: copy() const -> set
| Returns | _Self |
|---|