Static Public Member Functions | Static Public Attributes | List of all members
move_only_holder_caster< type, holder_type, SFINAE > Struct Template Reference

#include <cast.h>

Static Public Member Functions

static handle cast (holder_type &&src, return_value_policy, handle)
 

Static Public Attributes

static constexpr auto name = type_caster_base<type>::name
 

Detailed Description

template<typename type, typename holder_type, typename SFINAE = void>
struct move_only_holder_caster< type, holder_type, SFINAE >

Type caster for holder types like std::unique_ptr. Please consider the SFINAE hook an implementation detail, as explained in the comment for the copyable_holder_caster.

Definition at line 839 of file cast.h.

Member Function Documentation

◆ cast()

template<typename type , typename holder_type , typename SFINAE = void>
static handle move_only_holder_caster< type, holder_type, SFINAE >::cast ( holder_type &&  src,
return_value_policy  ,
handle   
)
inlinestatic

Definition at line 843 of file cast.h.

Member Data Documentation

◆ name

template<typename type , typename holder_type , typename SFINAE = void>
constexpr auto move_only_holder_caster< type, holder_type, SFINAE >::name = type_caster_base<type>::name
staticconstexpr

Definition at line 847 of file cast.h.


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


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