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 49 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 53 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 56 of file callback/base.hpp.

Member Data Documentation

◆ fn

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

Definition at line 51 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 Jun 28 2024 02:20:09