Searched refs:const_ (Results 1 - 2 of 2) sorted by relevance

/gem5/ext/pybind11/tests/
H A Dtest_methods_and_attributes.cpp244 .def("overloaded_const", py::overload_cast<int >(&ExampleMandA::overloaded, py::const_))
245 .def("overloaded_const", py::overload_cast<int, float>(&ExampleMandA::overloaded, py::const_))
246 .def("overloaded_const", py::overload_cast<float, int>(&ExampleMandA::overloaded, py::const_))
247 .def("overloaded_const", py::overload_cast<int, int>(&ExampleMandA::overloaded, py::const_))
248 .def("overloaded_const", py::overload_cast<float, float>(&ExampleMandA::overloaded, py::const_))
258 .def("overloaded_const", overload_cast_<int >()(&ExampleMandA::overloaded, py::const_))
259 .def("overloaded_const", overload_cast_<int, float>()(&ExampleMandA::overloaded, py::const_))
/gem5/ext/pybind11/include/pybind11/detail/
H A Dcommon.h755 /// - sweet: overload_cast<Arg>(&Class::func, const_)
756 static constexpr auto const_ = std::true_type{}; member in struct:overload_cast_impl

Completed in 11 milliseconds