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

#include <container.hpp>

Public Types

using return_type = Container
 

Public Member Functions

constexpr auto allocator () const
 
template<typename AllocFn >
constexpr auto allocator (AllocFn alloc_fn) const
 
template<typename... Args>
constexpr auto operator() (Args &&... args) const -> LEXY_DECAY_DECLTYPE((LEXY_DECLVAL(Container &).push_back(LEXY_FWD(args)),...), LEXY_DECLVAL(Container))
 
template<typename C = Container, typename... Args>
constexpr auto operator() (const typename C::allocator_type &allocator, Args &&... args) const -> decltype((LEXY_DECLVAL(C &).push_back(LEXY_FWD(args)),...), C(allocator))
 
constexpr Container operator() (Container &&container) const
 
constexpr Container operator() (nullopt &&) const
 
constexpr auto sink () const
 
template<typename C = Container>
constexpr auto sink (const typename C::allocator_type &allocator) const
 

Detailed Description

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

Definition at line 102 of file container.hpp.

Member Typedef Documentation

◆ return_type

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

Definition at line 104 of file container.hpp.

Member Function Documentation

◆ allocator() [1/2]

template<typename Container >
constexpr auto lexy::_list< Container >::allocator ( ) const
inlineconstexpr

Definition at line 152 of file container.hpp.

◆ allocator() [2/2]

template<typename Container >
template<typename AllocFn >
constexpr auto lexy::_list< Container >::allocator ( AllocFn  alloc_fn) const
inlineconstexpr

Definition at line 148 of file container.hpp.

◆ operator()() [1/4]

template<typename Container >
template<typename... Args>
constexpr auto lexy::_list< Container >::operator() ( Args &&...  args) const -> LEXY_DECAY_DECLTYPE((LEXY_DECLVAL(Container&).push_back(LEXY_FWD(args)), ...), LEXY_DECLVAL(Container))
inlineconstexpr

Definition at line 116 of file container.hpp.

◆ operator()() [2/4]

template<typename Container >
template<typename C = Container, typename... Args>
constexpr auto lexy::_list< Container >::operator() ( const typename C::allocator_type &  allocator,
Args &&...  args 
) const -> decltype((LEXY_DECLVAL(C&).push_back(LEXY_FWD(args)), ...), C(allocator))
inlineconstexpr

Definition at line 127 of file container.hpp.

◆ operator()() [3/4]

template<typename Container >
constexpr Container lexy::_list< Container >::operator() ( Container &&  container) const
inlineconstexpr

Definition at line 106 of file container.hpp.

◆ operator()() [4/4]

template<typename Container >
constexpr Container lexy::_list< Container >::operator() ( nullopt &&  ) const
inlineconstexpr

Definition at line 110 of file container.hpp.

◆ sink() [1/2]

template<typename Container >
constexpr auto lexy::_list< Container >::sink ( ) const
inlineconstexpr

Definition at line 137 of file container.hpp.

◆ sink() [2/2]

template<typename Container >
template<typename C = Container>
constexpr auto lexy::_list< Container >::sink ( const typename C::allocator_type &  allocator) const
inlineconstexpr

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