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

#include <lazy_init.hpp>

Inheritance diagram for lexy::_detail::lazy_init< T >:
Inheritance graph
[legend]

Public Types

using value_type = T
 

Public Member Functions

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

Private Member Functions

template<typename... Args>
constexpr lazy_init (int, Args &&... args) noexcept
 

Detailed Description

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

Definition at line 109 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 112 of file lazy_init.hpp.

Constructor & Destructor Documentation

◆ lazy_init() [1/2]

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

◆ lazy_init() [2/2]

template<typename T >
template<typename... Args>
constexpr lexy::_detail::lazy_init< T >::lazy_init ( int  ,
Args &&...  args 
)
inlineexplicitconstexprprivatenoexcept

Definition at line 172 of file lazy_init.hpp.

Member Function Documentation

◆ emplace()

template<typename T >
template<typename... Args>
constexpr T& lexy::_detail::lazy_init< T >::emplace ( Args &&...  args)
inlineconstexpr

Definition at line 117 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 128 of file lazy_init.hpp.

◆ operator bool()

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

Definition at line 133 of file lazy_init.hpp.

◆ operator*() [1/4]

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

Definition at line 148 of file lazy_init.hpp.

◆ operator*() [2/4]

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

Definition at line 138 of file lazy_init.hpp.

◆ operator*() [3/4]

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

Definition at line 153 of file lazy_init.hpp.

◆ operator*() [4/4]

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

Definition at line 143 of file lazy_init.hpp.

◆ operator->() [1/2]

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

Definition at line 164 of file lazy_init.hpp.

◆ operator->() [2/2]

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

Definition at line 159 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 Dec 13 2024 03:19:19