Py2Cpp 1.6.3; VERSION ${PROJECT_VERSION}
Loading...
Searching...
No Matches
Classes | Namespaces | Functions
set.hpp File Reference

Python-like set implementation for C++. More...

#include <cstddef>
#include <initializer_list>
#include <unordered_set>
Include dependency graph for set.hpp:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

Python-like set implementation for C++.

Provides a set template that extends std::unordered_set with Python-like convenience methods.