Classes | Namespaces | Typedefs | Variables
object.hpp File Reference
#include <lexy/callback/base.hpp>
Include dependency graph for object.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  lexy::_construct< T >
 
struct  lexy::_construct< void >
 
struct  lexy::_new< T, PtrT >
 

Namespaces

 lexy
 
 lexy::_detail
 

Typedefs

template<typename T , typename... Args>
using lexy::_detail::_detect_brace_construct = decltype(T{LEXY_DECLVAL(Args)...})
 

Variables

template<typename T >
constexpr auto lexy::construct = _construct<T>{}
 A callback that constructs an object of type T by forwarding the arguments. More...
 
template<typename T , typename... Args>
constexpr auto lexy::_detail::is_brace_constructible = _detail::is_detected<_detect_brace_construct, T, Args...>
 
template<typename T , typename... Args>
constexpr auto lexy::_detail::is_constructible = std::is_constructible_v<T, Args...> || is_brace_constructible<T, Args...>
 
template<typename T , typename PtrT = T*>
constexpr auto lexy::new_ = _new<T, PtrT>{}
 A callback that constructs an object of type T on the heap by forwarding the arguments. More...
 


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08