Public Types | Public Member Functions | Public Attributes | List of all members
lexy::_compose_cb< First, Second > Struct Template Reference

#include <composition.hpp>

Public Types

using return_type = typename Second::return_type
 

Public Member Functions

constexpr _compose_cb (First &&first, Second &&second)
 
template<typename... Args>
constexpr auto operator() (Args &&... args) const -> LEXY_DECAY_DECLTYPE(_first(LEXY_FWD(args)...), LEXY_DECLVAL(return_type))
 
template<typename State , typename = std::enable_if_t<lexy::is_callback_state<First, State> || lexy::is_callback_state<Second, State>>>
constexpr auto operator[] (State &state) const
 

Public Attributes

LEXY_EMPTY_MEMBER First _first
 
LEXY_EMPTY_MEMBER Second _second
 

Detailed Description

template<typename First, typename Second>
struct lexy::_compose_cb< First, Second >

Definition at line 41 of file composition.hpp.

Member Typedef Documentation

◆ return_type

template<typename First , typename Second >
using lexy::_compose_cb< First, Second >::return_type = typename Second::return_type

Definition at line 50 of file composition.hpp.

Constructor & Destructor Documentation

◆ _compose_cb()

template<typename First , typename Second >
constexpr lexy::_compose_cb< First, Second >::_compose_cb ( First &&  first,
Second &&  second 
)
inlineexplicitconstexpr

Definition at line 46 of file composition.hpp.

Member Function Documentation

◆ operator()()

template<typename First , typename Second >
template<typename... Args>
constexpr auto lexy::_compose_cb< First, Second >::operator() ( Args &&...  args) const -> LEXY_DECAY_DECLTYPE(_first(LEXY_FWD(args)...), LEXY_DECLVAL(return_type))
inlineconstexpr

Definition at line 63 of file composition.hpp.

◆ operator[]()

template<typename First , typename Second >
template<typename State , typename = std::enable_if_t<lexy::is_callback_state<First, State> || lexy::is_callback_state<Second, State>>>
constexpr auto lexy::_compose_cb< First, Second >::operator[] ( State &  state) const
inlineconstexpr

Definition at line 55 of file composition.hpp.

Member Data Documentation

◆ _first

template<typename First , typename Second >
LEXY_EMPTY_MEMBER First lexy::_compose_cb< First, Second >::_first

Definition at line 43 of file composition.hpp.

◆ _second

template<typename First , typename Second >
LEXY_EMPTY_MEMBER Second lexy::_compose_cb< First, Second >::_second

Definition at line 44 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 Dec 13 2024 03:19:19