Scarab  v2.9.1
Project 8 C++ Utility Library
Static Public Member Functions | List of all members
holder_helper< T > Struct Template Reference

#include <cast.h>

Static Public Member Functions

static auto get (const T &p) -> decltype(p.get())
 

Detailed Description

template<typename T>
struct pybind11::detail::holder_helper< T >

Helper class which abstracts away certain actions. Users can provide specializations for custom holders, but it's only necessary if the type has a non-standard interface.

Definition at line 1430 of file cast.h.

Member Function Documentation

◆ get()

static auto get ( const T &  p) -> decltype(p.get())
inlinestatic

Definition at line 1431 of file cast.h.


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