Public Types | Public Member Functions | List of all members
lexy::_new< T, PtrT > Struct Template Reference

#include <object.hpp>

Public Types

using return_type = PtrT
 

Public Member Functions

template<typename... Args>
constexpr auto operator() (Args &&... args) const -> std::enable_if_t< _detail::is_constructible< T, Args &&... >, PtrT >
 
constexpr PtrT operator() (const T &t) const
 
constexpr PtrT operator() (T &&t) const
 

Detailed Description

template<typename T, typename PtrT>
struct lexy::_new< T, PtrT >

Definition at line 60 of file object.hpp.

Member Typedef Documentation

◆ return_type

template<typename T , typename PtrT >
using lexy::_new< T, PtrT >::return_type = PtrT

Definition at line 62 of file object.hpp.

Member Function Documentation

◆ operator()() [1/3]

template<typename T , typename PtrT >
template<typename... Args>
constexpr auto lexy::_new< T, PtrT >::operator() ( Args &&...  args) const -> std::enable_if_t<_detail::is_constructible<T, Args&&...>, PtrT>
inlineconstexpr

Definition at line 76 of file object.hpp.

◆ operator()() [2/3]

template<typename T , typename PtrT >
constexpr PtrT lexy::_new< T, PtrT >::operator() ( const T &  t) const
inlineconstexpr

Definition at line 69 of file object.hpp.

◆ operator()() [3/3]

template<typename T , typename PtrT >
constexpr PtrT lexy::_new< T, PtrT >::operator() ( T &&  t) const
inlineconstexpr

Definition at line 64 of file object.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