Apache Log4cxx  Version 2.0.0
Loading...
Searching...
No Matches
log4cxx::helpers::LazyPtr< T > Class Template Reference

A create-on-first-use smart pointer. More...

#include <lazyptr.h>

Public Member Functions

 LazyPtr ()=default
 ~LazyPtr ()
 LazyPtr (const LazyPtr &)=delete
LazyPtr & operator= (const LazyPtr &)=delete
 LazyPtr (LazyPtr &&other) noexcept
LazyPtr & operator= (LazyPtr &&other) noexcept
T & operator* ()
T * operator-> ()
 operator bool () const noexcept
T * get_ptr () const noexcept

Detailed Description

template<typename T>
class log4cxx::helpers::LazyPtr< T >

A create-on-first-use smart pointer.

Constructor & Destructor Documentation

◆ LazyPtr() [1/3]

template<typename T>
log4cxx::helpers::LazyPtr< T >::LazyPtr ( )
default

◆ ~LazyPtr()

template<typename T>
log4cxx::helpers::LazyPtr< T >::~LazyPtr ( )
inline

◆ LazyPtr() [2/3]

template<typename T>
log4cxx::helpers::LazyPtr< T >::LazyPtr ( const LazyPtr< T > & )
delete

◆ LazyPtr() [3/3]

template<typename T>
log4cxx::helpers::LazyPtr< T >::LazyPtr ( LazyPtr< T > && other)
inlinenoexcept

Member Function Documentation

◆ get_ptr()

template<typename T>
T * log4cxx::helpers::LazyPtr< T >::get_ptr ( ) const
inlinenoexcept

◆ operator bool()

template<typename T>
log4cxx::helpers::LazyPtr< T >::operator bool ( ) const
inlineexplicitnoexcept

◆ operator*()

template<typename T>
T & log4cxx::helpers::LazyPtr< T >::operator* ( )
inline

◆ operator->()

template<typename T>
T * log4cxx::helpers::LazyPtr< T >::operator-> ( )
inline

◆ operator=() [1/2]

template<typename T>
LazyPtr & log4cxx::helpers::LazyPtr< T >::operator= ( const LazyPtr< T > & )
delete

◆ operator=() [2/2]

template<typename T>
LazyPtr & log4cxx::helpers::LazyPtr< T >::operator= ( LazyPtr< T > && other)
inlinenoexcept

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