Public Types | Public Member Functions | Private Attributes | List of all members
lexy::_collect_sink< Container, Callback > Class Template Reference

#include <container.hpp>

Public Types

using return_type = Container
 

Public Member Functions

constexpr _collect_sink (Callback callback)
 
template<typename C = Container>
constexpr _collect_sink (Callback callback, const typename C::allocator_type &allocator)
 
constexpr auto finish () &&
 
template<typename... Args>
constexpr auto operator() (Args &&... args) -> decltype(void(LEXY_DECLVAL(Callback)(LEXY_FWD(args)...)))
 

Private Attributes

LEXY_EMPTY_MEMBER Callback _callback
 
Container _result
 

Detailed Description

template<typename Container, typename Callback>
class lexy::_collect_sink< Container, Callback >

Definition at line 412 of file container.hpp.

Member Typedef Documentation

◆ return_type

template<typename Container , typename Callback >
using lexy::_collect_sink< Container, Callback >::return_type = Container

Definition at line 421 of file container.hpp.

Constructor & Destructor Documentation

◆ _collect_sink() [1/2]

template<typename Container , typename Callback >
constexpr lexy::_collect_sink< Container, Callback >::_collect_sink ( Callback  callback)
inlineexplicitconstexpr

Definition at line 415 of file container.hpp.

◆ _collect_sink() [2/2]

template<typename Container , typename Callback >
template<typename C = Container>
constexpr lexy::_collect_sink< Container, Callback >::_collect_sink ( Callback  callback,
const typename C::allocator_type &  allocator 
)
inlineexplicitconstexpr

Definition at line 417 of file container.hpp.

Member Function Documentation

◆ finish()

template<typename Container , typename Callback >
constexpr auto lexy::_collect_sink< Container, Callback >::finish ( ) &&
inlineconstexpr

Definition at line 430 of file container.hpp.

◆ operator()()

template<typename Container , typename Callback >
template<typename... Args>
constexpr auto lexy::_collect_sink< Container, Callback >::operator() ( Args &&...  args) -> decltype(void(LEXY_DECLVAL(Callback)(LEXY_FWD(args)...)))
inlineconstexpr

Definition at line 424 of file container.hpp.

Member Data Documentation

◆ _callback

template<typename Container , typename Callback >
LEXY_EMPTY_MEMBER Callback lexy::_collect_sink< Container, Callback >::_callback
private

Definition at line 437 of file container.hpp.

◆ _result

template<typename Container , typename Callback >
Container lexy::_collect_sink< Container, Callback >::_result
private

Definition at line 436 of file container.hpp.


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


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