Classes | Typedefs | Functions
test_sequences_and_iterators.cpp File Reference
#include <pybind11/operators.h>
#include <pybind11/stl.h>
#include "constructor_stats.h"
#include "pybind11_tests.h"
#include <algorithm>
#include <utility>
#include <vector>
Include dependency graph for test_sequences_and_iterators.cpp:

Go to the source code of this file.

Classes

class  NonCopyableInt
 
class  NonRefIterator< T >
 
class  NonZeroIterator< T >
 
class  NonZeroSentinel
 

Typedefs

using NonCopyableIntPair = std::pair< NonCopyableInt, NonCopyableInt >
 

Functions

template<typename A , typename B >
bool operator== (const NonZeroIterator< std::pair< A, B >> &it, const NonZeroSentinel &)
 
 PYBIND11_MAKE_OPAQUE (std::vector< NonCopyableInt >)
 
 PYBIND11_MAKE_OPAQUE (std::vector< NonCopyableIntPair >)
 
template<typename PythonType >
py::list test_random_access_iterator (PythonType x)
 
 TEST_SUBMODULE (sequences_and_iterators, m)
 

Typedef Documentation

◆ NonCopyableIntPair

Definition at line 80 of file test_sequences_and_iterators.cpp.

Function Documentation

◆ operator==()

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

Definition at line 41 of file test_sequences_and_iterators.cpp.

◆ PYBIND11_MAKE_OPAQUE() [1/2]

PYBIND11_MAKE_OPAQUE ( std::vector< NonCopyableInt )

◆ PYBIND11_MAKE_OPAQUE() [2/2]

PYBIND11_MAKE_OPAQUE ( std::vector< NonCopyableIntPair )

◆ test_random_access_iterator()

template<typename PythonType >
py::list test_random_access_iterator ( PythonType  x)

Definition at line 85 of file test_sequences_and_iterators.cpp.

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( sequences_and_iterators  ,
m   
)

Bare bones interface

Optional sequence protocol operations

Slicing protocol (optional)

Comparisons

Definition at line 128 of file test_sequences_and_iterators.cpp.



gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:40:55