Home
last modified time | relevance | path

Searched refs:throw_if_missing (Results 1 – 3 of 3) sorted by relevance

/external/python/pybind11/include/pybind11/
Dcast.h191 bool throw_if_missing = false) {
197 if (throw_if_missing) {
205 PYBIND11_NOINLINE inline handle get_type_handle(const std::type_info &tp, bool throw_if_missing) { in get_type_handle() argument
206 detail::type_info *type_info = get_type_info(tp, throw_if_missing); in get_type_handle()
326 …(const type_info *find_type /*= nullptr default in common.h*/, bool throw_if_missing /*= true in c… in get_value_and_holder() argument
336 if (!throw_if_missing) in get_value_and_holder()
Dnumpy.h93 numpy_type_info *get_type_info(const std::type_info& tinfo, bool throw_if_missing = true) {
97 if (throw_if_missing)
102 template<typename T> numpy_type_info *get_type_info(bool throw_if_missing = true) {
103 return get_type_info(typeid(typename std::remove_cv<T>::type), throw_if_missing);
/external/python/pybind11/include/pybind11/detail/
Dcommon.h470 …nd_holder get_value_and_holder(const type_info *find_type = nullptr, bool throw_if_missing = true);