Classes | Namespaces | Macros | Functions
adapter.hpp File Reference
#include <lexy/callback/base.hpp>
Include dependency graph for adapter.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lexy::_callback< ReturnType, Fns >
 
struct  lexy::_cb_from_sink< Sink >
 
struct  lexy::_mem_fn< Fn >
 
struct  lexy::_mem_fn< MemFn T::* >
 
struct  lexy::_mem_fn_traits< MemFn >
 

Namespaces

 lexy
 

Macros

#define LEXY_MAKE_MEM_FN_TRAITS(...)
 
#define LEXY_MAKE_MEM_FN_TRAITS_CV(...)
 
#define LEXY_MAKE_MEM_FN_TRAITS_CV_REF(...)
 

Functions

template<typename... Fns>
constexpr auto lexy::callback (Fns &&... fns)
 Creates a callback. More...
 
template<typename ReturnType , typename... Fns>
constexpr auto lexy::callback (Fns &&... fns)
 Creates a callback. More...
 
template<typename Sink , typename = lexy::sink_callback<Sink>>
constexpr auto lexy::callback (Sink &&sink)
 Creates a callback that forwards all arguments to the sink. More...
 
template<typename MemFn , typename T >
constexpr auto lexy::mem_fn (MemFn T::*fn)
 Creates a callback from a member function. More...
 

Macro Definition Documentation

◆ LEXY_MAKE_MEM_FN_TRAITS

#define LEXY_MAKE_MEM_FN_TRAITS (   ...)
Value:
template <typename ReturnType, typename... Args> \
struct _mem_fn_traits<ReturnType(Args...) __VA_ARGS__> \
{ \
using return_type = ReturnType; \
}; \
template <typename ReturnType, typename... Args> \
struct _mem_fn_traits<ReturnType(Args..., ...) __VA_ARGS__> \
{ \
using return_type = ReturnType; \
};

Definition at line 71 of file adapter.hpp.

◆ LEXY_MAKE_MEM_FN_TRAITS_CV

#define LEXY_MAKE_MEM_FN_TRAITS_CV (   ...)
Value:
LEXY_MAKE_MEM_FN_TRAITS(__VA_ARGS__) \
LEXY_MAKE_MEM_FN_TRAITS(const __VA_ARGS__) \
LEXY_MAKE_MEM_FN_TRAITS(volatile __VA_ARGS__) \
LEXY_MAKE_MEM_FN_TRAITS(const volatile __VA_ARGS__)

Definition at line 83 of file adapter.hpp.

◆ LEXY_MAKE_MEM_FN_TRAITS_CV_REF

#define LEXY_MAKE_MEM_FN_TRAITS_CV_REF (   ...)
Value:
LEXY_MAKE_MEM_FN_TRAITS_CV(&__VA_ARGS__) \
LEXY_MAKE_MEM_FN_TRAITS_CV(&&__VA_ARGS__)

Definition at line 89 of file adapter.hpp.

LEXY_MAKE_MEM_FN_TRAITS_CV
#define LEXY_MAKE_MEM_FN_TRAITS_CV(...)
Definition: adapter.hpp:83
LEXY_MAKE_MEM_FN_TRAITS
#define LEXY_MAKE_MEM_FN_TRAITS(...)
Definition: adapter.hpp:71


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08