Public Types | Public Member Functions | Public Attributes | List of all members
lexy::_collection_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(LEXY_FWD(args)...))
 
template<typename C = Container, typename U >
auto operator() (U &&obj) -> decltype(LEXY_DECLVAL(C &).insert(LEXY_FWD(obj)))
 

Public Attributes

Container _result
 

Detailed Description

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

Definition at line 167 of file container.hpp.

Member Typedef Documentation

◆ return_type

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

Definition at line 171 of file container.hpp.

Member Function Documentation

◆ finish()

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

Definition at line 185 of file container.hpp.

◆ operator()() [1/2]

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

Definition at line 180 of file container.hpp.

◆ operator()() [2/2]

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

Definition at line 174 of file container.hpp.

Member Data Documentation

◆ _result

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

Definition at line 169 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