template<typename Key>
py::set class

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

auto contains(const Key& key) const -> bool -> auto
auto copy() const -> set -> auto
auto operator=(const set&) -> set & -> auto deleted
auto operator=(set&&) noexcept -> set & -> auto defaulted

Function documentation

template<typename Key _1>
py::set<_1>::set(std::initializer_list<Key> init)

Construct a new set object.

Parameters
init in

template<typename Key _1>
py::set<_1>::set(const set<Key>&) defaulted

Copy Constructor (deleted)

Copy through explicitly the public copy() function!!!

template<typename Key _1>
auto py::set<_1>::contains(const Key& key) const -> bool

Parameters
key in
Returns true

template<typename Key _1>
auto py::set<_1>::copy() const -> set

Returns _Self

template<typename Key _1>
auto py::set<_1>::operator=(const set&) -> set & deleted

Returns _Self&

template<typename Key _1>
auto py::set<_1>::operator=(set&&) noexcept -> set & defaulted

Returns _Self&