#include <common.h>
|
| constexpr | overload_cast_impl () |
| |
| template<typename Return > |
| constexpr auto | operator() (Return(*pf)(Args...)) const noexcept -> decltype(pf) |
| |
| template<typename Return , typename Class > |
| constexpr auto | operator() (Return(Class::*pmf)(Args...), std::false_type={}) const noexcept -> decltype(pmf) |
| |
| template<typename Return , typename Class > |
| constexpr auto | operator() (Return(Class::*pmf)(Args...) const, std::true_type) const noexcept -> decltype(pmf) |
| |
template<typename... Args>
struct pybind11::detail::overload_cast_impl< Args >
Definition at line 725 of file detail/common.h.
◆ overload_cast_impl()
◆ operator()() [1/3]
| constexpr auto operator() |
( |
Return(*)(Args...) |
pf | ) |
const -> decltype(pf) |
|
inlinenoexcept |
◆ operator()() [2/3]
| constexpr auto operator() |
( |
Return(Class::*)(Args...) |
pmf, |
|
|
std::false_type |
= {} |
|
) |
| const -> decltype(pmf) |
|
inlinenoexcept |
◆ operator()() [3/3]
| constexpr auto operator() |
( |
Return(Class::*)(Args...) const |
pmf, |
|
|
std::true_type |
|
|
) |
| const -> decltype(pmf) |
|
inlinenoexcept |
The documentation for this struct was generated from the following file: