Scarab  v2.9.0
Project 8 C++ Utility Library
Classes | Functions | Variables
test_sequences_and_iterators.cpp File Reference
#include "pybind11_tests.h"
#include "constructor_stats.h"
#include <pybind11/operators.h>
#include <pybind11/stl.h>
Include dependency graph for test_sequences_and_iterators.cpp:

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)
 
void test_submodule_sequences_and_iterators (py::module &)
 

Variables

test_initializer sequences_and_iterators ("sequences_and_iterators", test_submodule_sequences_and_iterators)
 

Function Documentation

◆ operator==()

bool operator== ( const NonZeroIterator< std::pair< A, B >> &  it,
const NonZeroSentinel  
)

Definition at line 28 of file test_sequences_and_iterators.cpp.

◆ test_random_access_iterator()

py::list test_random_access_iterator ( PythonType  x)

Definition at line 33 of file test_sequences_and_iterators.cpp.

◆ test_submodule_sequences_and_iterators()

void test_submodule_sequences_and_iterators ( py::module m)

Bare bones interface

Optional sequence protocol operations

Slicing protocol (optional)

Comparisons

Definition at line 73 of file test_sequences_and_iterators.cpp.

Variable Documentation

◆ sequences_and_iterators

test_initializer sequences_and_iterators("sequences_and_iterators", test_submodule_sequences_and_iterators)