Searched refs:automatic (Results 1 - 5 of 5) sorted by relevance

/gem5/ext/pybind11/include/pybind11/
H A Deigen.h298 case return_value_policy::automatic:
324 // lvalue reference return; default (automatic) becomes copy
326 if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference)
330 // const lvalue reference return; default (automatic) becomes copy
332 if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference)
376 case return_value_policy::automatic:
H A Dcast.h521 case return_value_policy::automatic:
836 if (policy == return_value_policy::automatic || policy == return_value_policy::automatic_reference)
936 if (policy == return_value_policy::take_ownership || policy == return_value_policy::automatic)
1676 if (policy == return_value_policy::automatic)
1807 detail::make_caster<T>::cast(x, return_value_policy::automatic, {})
H A Dattr.h161 return_value_policy policy = return_value_policy::automatic;
/gem5/ext/pybind11/tests/
H A Dtest_sequences_and_iterators.cpp352 m.def("make_iterator_2", []() { return py::make_iterator<py::return_value_policy::automatic>(list); });
/gem5/ext/pybind11/include/pybind11/detail/
H A Dcommon.h308 automatic = 0, member in class:return_value_policy

Completed in 30 milliseconds