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

constexpr Container && finish () &&
 
template<typename C = Container, typename... Args>
constexpr auto operator() (Args &&... args) -> decltype(LEXY_DECLVAL(C &).emplace_back(LEXY_FWD(args)...))
 
template<typename C = Container, typename U >
constexpr 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 >
constexpr Container&& lexy::_list_sink< Container >::finish ( ) &&
inlineconstexpr

Definition at line 47 of file container.hpp.

◆ operator()() [1/2]

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

Definition at line 41 of file container.hpp.

◆ operator()() [2/2]

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

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 Dec 13 2024 03:19:19