#include <pybind11/numpy.h>
#include <pybind11/stl_bind.h>
#include "pybind11_tests.h"
#include <deque>
#include <map>
#include <unordered_map>
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) |
template<class NestMap > | |
NestMap * | times_hundred (int n) |
TEST_SUBMODULE (stl_binders, m) | |
Container * one_to_n | ( | int | n | ) |
Definition at line 45 of file test_stl_binders.cpp.
Referenced by TEST_SUBMODULE().
std::ostream & operator<< | ( | std::ostream & | s, |
El const & | v | ||
) |
Definition at line 27 of file test_stl_binders.cpp.
References El::a.
TEST_SUBMODULE | ( | stl_binders | , |
m | |||
) |
Definition at line 73 of file test_stl_binders.cpp.
References one_to_n(), PYBIND11_NUMPY_DTYPE, times_hundred(), times_ten(), and E_nc::value.
NestMap * times_hundred | ( | int | n | ) |
Definition at line 63 of file test_stl_binders.cpp.
Referenced by TEST_SUBMODULE().
Map * times_ten | ( | int | n | ) |
Definition at line 54 of file test_stl_binders.cpp.
Referenced by TEST_SUBMODULE().