Scarab  v2.11.1
Project 8 C++ Utility Library
Classes | Functions | Variables
test_stl_binders.cpp File Reference
#include "pybind11_tests.h"
#include <pybind11/stl_bind.h>
#include <pybind11/numpy.h>
#include <map>
#include <deque>
#include <unordered_map>
Include dependency graph for test_stl_binders.cpp:

Go to the source code of this file.

Classes

class  El
 
class  E_nc
 Issue #487: binding std::vector<E> with E non-copyable. More...
 

Functions

std::ostream & operator<< (std::ostream &s, El const &v)
 
template<class Container >
Container * one_to_n (int n)
 
template<class Map >
Map * times_ten (int n)
 
void test_submodule_stl_binders (py::module &)
 

Variables

test_initializer stl_binders ("stl_binders", test_submodule_stl_binders)
 

Function Documentation

◆ one_to_n()

Container* one_to_n ( int  n)

Definition at line 43 of file test_stl_binders.cpp.

◆ operator<<()

std::ostream& operator<< ( std::ostream &  s,
El const &  v 
)

Definition at line 26 of file test_stl_binders.cpp.

◆ test_submodule_stl_binders()

void test_submodule_stl_binders ( py::module m)

Definition at line 57 of file test_stl_binders.cpp.

◆ times_ten()

Map* times_ten ( int  n)

Definition at line 50 of file test_stl_binders.cpp.

Variable Documentation

◆ stl_binders

test_initializer stl_binders("stl_binders", test_submodule_stl_binders)