Public Member Functions | List of all members
overload_cast_impl< Args > Struct Template Reference

#include <common.h>

Public Member Functions

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)
 

Detailed Description

template<typename... Args>
struct overload_cast_impl< Args >

Definition at line 1105 of file wrap/pybind11/include/pybind11/detail/common.h.

Member Function Documentation

◆ 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:


gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:10:02