Public Types | Public Member Functions | Public Attributes | List of all members
lexy::_list_sink< Container > Struct Template Reference

#include <container.hpp>

Public Types

using return_type = Container
 

Public Member Functions

Container && finish () &&
 
template<typename C = Container, typename... Args>
auto operator() (Args &&... args) -> decltype(LEXY_DECLVAL(C &).emplace_back(LEXY_FWD(args)...))
 
template<typename C = Container, typename U >
auto operator() (U &&obj) -> decltype(LEXY_DECLVAL(C &).push_back(LEXY_FWD(obj)))
 

Public Attributes

Container _result
 

Detailed Description

template<typename Container>
struct lexy::_list_sink< Container >

Definition at line 28 of file container.hpp.

Member Typedef Documentation

◆ return_type

template<typename Container >
using lexy::_list_sink< Container >::return_type = Container

Definition at line 32 of file container.hpp.

Member Function Documentation

◆ finish()

template<typename Container >
Container&& lexy::_list_sink< Container >::finish ( ) &&
inline

Definition at line 46 of file container.hpp.

◆ operator()() [1/2]

template<typename Container >
template<typename C = Container, typename... Args>
auto lexy::_list_sink< Container >::operator() ( Args &&...  args) -> decltype(LEXY_DECLVAL(C&).emplace_back(LEXY_FWD(args)...))
inline

Definition at line 41 of file container.hpp.

◆ operator()() [2/2]

template<typename Container >
template<typename C = Container, typename U >
auto lexy::_list_sink< Container >::operator() ( U &&  obj) -> decltype(LEXY_DECLVAL(C&).push_back(LEXY_FWD(obj)))
inline

Definition at line 35 of file container.hpp.

Member Data Documentation

◆ _result

template<typename Container >
Container lexy::_list_sink< Container >::_result

Definition at line 30 of file container.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