#include <stl.h>
Public Types | |
using | key_conv = make_caster< Key > |
using | value_conv = make_caster< Value > |
Public Member Functions | |
bool | load (handle src, bool convert) |
PYBIND11_TYPE_CASTER (Type, const_name("dict[")+key_conv::name+const_name(", ")+value_conv::name+const_name("]")) | |
Static Public Member Functions | |
template<typename T > | |
static handle | cast (T &&src, return_value_policy policy, handle parent) |
Private Member Functions | |
void | reserve_maybe (const dict &, void *) |
template<typename T = Type, enable_if_t< has_reserve_method< T >::value, int > = 0> | |
void | reserve_maybe (const dict &d, Type *) |
using map_caster< Type, Key, Value >::key_conv = make_caster<Key> |
using map_caster< Type, Key, Value >::value_conv = make_caster<Value> |
|
inlinestatic |
|
inline |
map_caster< Type, Key, Value >::PYBIND11_TYPE_CASTER | ( | Type | , |
const_name("dict[")+key_conv::name+const_name(", ")+value_conv::name+const_name("]") | |||
) |
|
inlineprivate |
|
inlineprivate |