|
Py2Cpp 1.6.3; VERSION ${PROJECT_VERSION}
|
Python-like set implementation for C++. More...
#include <cstddef>#include <initializer_list>#include <unordered_set>

Go to the source code of this file.
Classes | |
| class | py::set< Key > |
| Python-like set implementation. More... | |
Namespaces | |
| namespace | py |
| Python-like utilities and data structures for C++. | |
Functions | |
| template<typename Key > | |
| auto | py::operator< (const Key &key, const set< Key > &m) -> bool |
| Check if an element is contained in a set. | |
| template<typename Key > | |
| auto | py::len (const set< Key > &m) noexcept -> size_t |
| Get the number of elements in a set. | |
Python-like set implementation for C++.
Provides a set template that extends std::unordered_set with Python-like convenience methods.