Public Types | Public Member Functions | Public Attributes | List of all members
lexy::_compose_s< Sink, Callback > Struct Template Reference

#include <composition.hpp>

Public Types

using return_type = typename Callback::return_type
 

Public Member Functions

template<typename... Args>
constexpr auto operator() (Args &&... args) const -> decltype(_callback(LEXY_FWD(args)...))
 
template<typename State , typename = std::enable_if_t<lexy::is_callback_state<Callback, State>>>
constexpr auto operator[] (State &state) const
 
template<typename... Args>
constexpr auto sink (Args &&... args) const -> decltype(_sink.sink(LEXY_FWD(args)...))
 

Public Attributes

LEXY_EMPTY_MEMBER Callback _callback
 
LEXY_EMPTY_MEMBER Sink _sink
 

Detailed Description

template<typename Sink, typename Callback>
struct lexy::_compose_s< Sink, Callback >

Definition at line 71 of file composition.hpp.

Member Typedef Documentation

◆ return_type

template<typename Sink , typename Callback >
using lexy::_compose_s< Sink, Callback >::return_type = typename Callback::return_type

Definition at line 76 of file composition.hpp.

Member Function Documentation

◆ operator()()

template<typename Sink , typename Callback >
template<typename... Args>
constexpr auto lexy::_compose_s< Sink, Callback >::operator() ( Args &&...  args) const -> decltype(_callback(LEXY_FWD(args)...))
inlineconstexpr

Definition at line 91 of file composition.hpp.

◆ operator[]()

template<typename Sink , typename Callback >
template<typename State , typename = std::enable_if_t<lexy::is_callback_state<Callback, State>>>
constexpr auto lexy::_compose_s< Sink, Callback >::operator[] ( State &  state) const
inlineconstexpr

Definition at line 85 of file composition.hpp.

◆ sink()

template<typename Sink , typename Callback >
template<typename... Args>
constexpr auto lexy::_compose_s< Sink, Callback >::sink ( Args &&...  args) const -> decltype(_sink.sink(LEXY_FWD(args)...))
inlineconstexpr

Definition at line 79 of file composition.hpp.

Member Data Documentation

◆ _callback

template<typename Sink , typename Callback >
LEXY_EMPTY_MEMBER Callback lexy::_compose_s< Sink, Callback >::_callback

Definition at line 74 of file composition.hpp.

◆ _sink

template<typename Sink , typename Callback >
LEXY_EMPTY_MEMBER Sink lexy::_compose_s< Sink, Callback >::_sink

Definition at line 73 of file composition.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