Public Types | Public Member Functions | Private Attributes | List of all members
lexy::_detail::lazy_init< T & > Class Template Reference

#include <lazy_init.hpp>

Public Types

using value_type = T &
 

Public Member Functions

constexpr T & emplace (T &ref)
 
template<typename Fn , typename... Args>
constexpr T & emplace_result (Fn &&fn, Args &&... args)
 
constexpr lazy_init () noexcept
 
constexpr operator bool () const noexcept
 
constexpr T & operator* () const noexcept
 
constexpr T * operator-> () const noexcept
 

Private Attributes

T * _ptr
 

Detailed Description

template<typename T>
class lexy::_detail::lazy_init< T & >

Definition at line 163 of file lazy_init.hpp.

Member Typedef Documentation

◆ value_type

template<typename T >
using lexy::_detail::lazy_init< T & >::value_type = T&

Definition at line 166 of file lazy_init.hpp.

Constructor & Destructor Documentation

◆ lazy_init()

template<typename T >
constexpr lexy::_detail::lazy_init< T & >::lazy_init ( )
inlineconstexprnoexcept

Definition at line 168 of file lazy_init.hpp.

Member Function Documentation

◆ emplace()

template<typename T >
constexpr T& lexy::_detail::lazy_init< T & >::emplace ( T &  ref)
inlineconstexpr

Definition at line 170 of file lazy_init.hpp.

◆ emplace_result()

template<typename T >
template<typename Fn , typename... Args>
constexpr T& lexy::_detail::lazy_init< T & >::emplace_result ( Fn &&  fn,
Args &&...  args 
)
inlineconstexpr

Definition at line 178 of file lazy_init.hpp.

◆ operator bool()

template<typename T >
constexpr lexy::_detail::lazy_init< T & >::operator bool ( ) const
inlineexplicitconstexprnoexcept

Definition at line 183 of file lazy_init.hpp.

◆ operator*()

template<typename T >
constexpr T& lexy::_detail::lazy_init< T & >::operator* ( ) const
inlineconstexprnoexcept

Definition at line 188 of file lazy_init.hpp.

◆ operator->()

template<typename T >
constexpr T* lexy::_detail::lazy_init< T & >::operator-> ( ) const
inlineconstexprnoexcept

Definition at line 194 of file lazy_init.hpp.

Member Data Documentation

◆ _ptr

template<typename T >
T* lexy::_detail::lazy_init< T & >::_ptr
private

Definition at line 201 of file lazy_init.hpp.


The documentation for this class was generated from the following file:


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