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...), 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)
 

Detailed Description

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

Definition at line 1009 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)
inlinenoexcept

◆ operator()() [2/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)
inlinenoexcept

◆ operator()() [3/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)
inlinenoexcept

The documentation for this struct was generated from the following file:


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:41:03