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 97 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 100 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 158 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 105 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 114 of file lazy_init.hpp.

◆ operator bool()

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

Definition at line 119 of file lazy_init.hpp.

◆ operator*() [1/4]

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

Definition at line 134 of file lazy_init.hpp.

◆ operator*() [2/4]

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

Definition at line 124 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 139 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 129 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 150 of file lazy_init.hpp.

◆ operator->() [2/2]

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

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