μHAL (v2.8.17)
Part of the IPbus software repository
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
test_stl_binders.cpp File Reference
#include <pybind11/numpy.h>
#include <pybind11/stl_bind.h>
#include "pybind11_tests.h"
#include <deque>
#include <map>
#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)
 
template<class NestMap >
NestMap * times_hundred (int n)
 
 TEST_SUBMODULE (stl_binders, m)
 

Function Documentation

◆ one_to_n()

template<class Container >
Container * one_to_n ( int  n)

Definition at line 45 of file test_stl_binders.cpp.

Referenced by TEST_SUBMODULE().

◆ operator<<()

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

Definition at line 27 of file test_stl_binders.cpp.

References El::a.

◆ TEST_SUBMODULE()

TEST_SUBMODULE ( stl_binders  ,
 
)

◆ times_hundred()

template<class NestMap >
NestMap * times_hundred ( int  n)

Definition at line 63 of file test_stl_binders.cpp.

Referenced by TEST_SUBMODULE().

◆ times_ten()

template<class Map >
Map * times_ten ( int  n)

Definition at line 54 of file test_stl_binders.cpp.

Referenced by TEST_SUBMODULE().