Ardour  9.0-pre0-582-g084a23a80d
Stack< T const & > Struct Template Reference

#include <Userdata.h>

Static Public Member Functions

static void push (lua_State *L, T const &t)
 
static std::conditional_t< passByContainer, T, T const & > get (lua_State *L, int index)
 

Static Private Attributes

static constexpr bool passByContainer = TypeTraits::isContainer<T>::value
 

Detailed Description

template<class T>
struct Stack< T const & >

Definition at line 795 of file Userdata.h.

Member Function Documentation

◆ get()

template<class T >
static std::conditional_t<passByContainer, T, T const&> Stack< T const & >::get ( lua_State L,
int  index 
)
inlinestatic

Definition at line 819 of file Userdata.h.

◆ push()

template<class T >
static void Stack< T const & >::push ( lua_State L,
T const &  t 
)
inlinestatic

Definition at line 803 of file Userdata.h.

Member Data Documentation

◆ passByContainer

template<class T >
constexpr bool Stack< T const & >::passByContainer = TypeTraits::isContainer<T>::value
staticconstexprprivate

Definition at line 799 of file Userdata.h.


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