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