CIRCT 21.0.0git
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
pybind11::detail::type_caster< std::any > Struct Reference

Pybind11 doesn't have a built-in type caster for std::any (https://github.com/pybind/pybind11/issues/1590). More...

Public Member Functions

 PYBIND11_TYPE_CASTER (std::any, const_name("object"))
 

Static Public Member Functions

static handle cast (std::any src, return_value_policy, handle)
 

Detailed Description

Pybind11 doesn't have a built-in type caster for std::any (https://github.com/pybind/pybind11/issues/1590).

We must provide one which knows about all of the potential types which the any might be.

Definition at line 69 of file esiCppAccel.cpp.

Member Function Documentation

◆ cast()

static handle pybind11::detail::type_caster< std::any >::cast ( std::any  src,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 73 of file esiCppAccel.cpp.

◆ PYBIND11_TYPE_CASTER()

pybind11::detail::type_caster< std::any >::PYBIND11_TYPE_CASTER ( std::any  ,
const_name("object")   
)

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