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

constexpr Container && finish () &&
 
template<typename C = Container, typename... Args>
constexpr auto operator() (Args &&... args) -> decltype(LEXY_DECLVAL(C &).emplace(LEXY_FWD(args)...))
 
template<typename C = Container, typename U >
constexpr 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 168 of file container.hpp.

Member Typedef Documentation

◆ return_type

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

Definition at line 172 of file container.hpp.

Member Function Documentation

◆ finish()

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

Definition at line 187 of file container.hpp.

◆ operator()() [1/2]

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

Definition at line 181 of file container.hpp.

◆ operator()() [2/2]

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

Definition at line 175 of file container.hpp.

Member Data Documentation

◆ _result

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

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