Public Member Functions | Public Attributes | List of all members
lexy::_fn_holder< Fn > Struct Template Reference

#include <base.hpp>

Public Member Functions

constexpr _fn_holder (Fn fn)
 
template<typename... Args>
constexpr auto operator() (Args &&... args) const -> decltype(_detail::invoke(fn, LEXY_FWD(args)...))
 

Public Attributes

Fn fn
 

Detailed Description

template<typename Fn>
struct lexy::_fn_holder< Fn >

Definition at line 56 of file callback/base.hpp.

Constructor & Destructor Documentation

◆ _fn_holder()

template<typename Fn >
constexpr lexy::_fn_holder< Fn >::_fn_holder ( Fn  fn)
inlineexplicitconstexpr

Definition at line 60 of file callback/base.hpp.

Member Function Documentation

◆ operator()()

template<typename Fn >
template<typename... Args>
constexpr auto lexy::_fn_holder< Fn >::operator() ( Args &&...  args) const -> decltype(_detail::invoke(fn, LEXY_FWD(args)...))
inlineconstexpr

Definition at line 63 of file callback/base.hpp.

Member Data Documentation

◆ fn

template<typename Fn >
Fn lexy::_fn_holder< Fn >::fn

Definition at line 58 of file callback/base.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19