CommonLibSSE (Parapets fork)
RE::BSScript::Impl Namespace Reference

Functions

template<class... Args, std::size_t... I>
void CopyArgsImpl (std::tuple< Args... > &a_tuple, BSScrapArray< Variable > &a_dst, std::index_sequence< I... >)
 
template<class... Args>
void CopyArgs (std::tuple< Args... > &a_tuple, BSScrapArray< Variable > &a_dst)
 
template<class F , class Tuple , std::size_t... I, class... Args>
constexpr decltype(auto) CallbackImpl (F &&a_func, Tuple &&a_tuple, std::index_sequence< I... >, Args &&... a_args)
 
template<class F , class Tuple , class... Args>
constexpr decltype(auto) CallBack (F &&a_func, Tuple &&a_tuple, Args &&... a_args)
 
template<class... Args, std::size_t... I>
std::tuple< Args... > MakeTupleImpl (const StackFrame &a_frame, std::uint32_t a_page, std::index_sequence< I... >)
 
template<class... Args>
std::tuple< Args... > MakeTuple (const StackFrame &a_frame, std::uint32_t a_page)
 

Function Documentation

◆ CallBack()

template<class F , class Tuple , class... Args>
constexpr decltype(auto) RE::BSScript::Impl::CallBack ( F &&  a_func,
Tuple &&  a_tuple,
Args &&...  a_args 
)
inlineconstexpr

◆ CallbackImpl()

template<class F , class Tuple , std::size_t... I, class... Args>
constexpr decltype(auto) RE::BSScript::Impl::CallbackImpl ( F &&  a_func,
Tuple &&  a_tuple,
std::index_sequence< I... >  ,
Args &&...  a_args 
)
inlineconstexpr

◆ CopyArgs()

template<class... Args>
void RE::BSScript::Impl::CopyArgs ( std::tuple< Args... > &  a_tuple,
BSScrapArray< Variable > &  a_dst 
)

◆ CopyArgsImpl()

template<class... Args, std::size_t... I>
void RE::BSScript::Impl::CopyArgsImpl ( std::tuple< Args... > &  a_tuple,
BSScrapArray< Variable > &  a_dst,
std::index_sequence< I... >   
)

◆ MakeTuple()

template<class... Args>
std::tuple<Args...> RE::BSScript::Impl::MakeTuple ( const StackFrame a_frame,
std::uint32_t  a_page 
)

◆ MakeTupleImpl()

template<class... Args, std::size_t... I>
std::tuple<Args...> RE::BSScript::Impl::MakeTupleImpl ( const StackFrame a_frame,
std::uint32_t  a_page,
std::index_sequence< I... >   
)