#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <pybind11/operators.h>
#include <pybind11/stl.h>
#include <algorithm>
Go to the source code of this file.
Classes | |
class | NonZeroIterator< T > |
class | NonZeroSentinel |
Functions | |
template<typename A , typename B > | |
bool | operator== (const NonZeroIterator< std::pair< A, B >> &it, const NonZeroSentinel &) |
template<typename PythonType > | |
py::list | test_random_access_iterator (PythonType x) |
TEST_SUBMODULE (sequences_and_iterators, m) | |
bool operator== | ( | const NonZeroIterator< std::pair< A, B >> & | it, |
const NonZeroSentinel & | |||
) |
Definition at line 30 of file test_sequences_and_iterators.cpp.
py::list test_random_access_iterator | ( | PythonType | x | ) |
Definition at line 35 of file test_sequences_and_iterators.cpp.
TEST_SUBMODULE | ( | sequences_and_iterators | , |
m | |||
) |
Bare bones interface
Optional sequence protocol operations
Slicing protocol (optional)
Comparisons
Definition at line 75 of file test_sequences_and_iterators.cpp.