Lines Matching refs:Value
101 template <typename Type, typename Key, typename Value> struct map_caster {
103 using value_conv = make_caster<Value>;
116 value.emplace(cast_op<Key &&>(std::move(kconv)), cast_op<Value &&>(std::move(vconv)));
128 policy_value = return_value_policy_override<Value>::policy(policy_value);
143 template <typename Type, typename Value> struct list_caster {
144 using value_conv = make_caster<Value>;
156 value.push_back(cast_op<Value &&>(std::move(conv)));
171 policy = return_value_policy_override<Value>::policy(policy);
195 template <typename ArrayType, typename Value, bool Resizable, size_t Size = 0> struct array_caster {
196 using value_conv = make_caster<Value>;
222 value[ctr++] = cast_op<Value &&>(std::move(conv));
255 template <typename Key, typename Value, typename Compare, typename Alloc> struct type_caster<std::map<Key, Value, Compare, Alloc>>
256 : map_caster<std::map<Key, Value, Compare, Alloc>, Key, Value> { };
258 template <typename Key, typename Value, typename Hash, typename Equal, typename Alloc> struct type_caster<std::unordered_map<Key, Value, Hash, Equal, Alloc>>
259 : map_caster<std::unordered_map<Key, Value, Hash, Equal, Alloc>, Key, Value> { };