Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::lazy_shared_ptr< T > Class Template Reference

Public Member Functions

 lazy_shared_ptr (const lazy_shared_ptr &)=delete
 
lazy_shared_ptroperator= (const lazy_shared_ptr &)=delete
 
 lazy_shared_ptr (lazy_shared_ptr &&other) noexcept
 
lazy_shared_ptroperator= (lazy_shared_ptr &&other) noexcept
 
template<typename Factory >
T & get_or_create (Factory &&factory) const
 
T * get () const noexcept
 

Detailed Description

template<typename T>
class csv::internals::lazy_shared_ptr< T >

Definition at line 297 of file common.hpp.

Constructor & Destructor Documentation

◆ lazy_shared_ptr()

template<typename T >
csv::internals::lazy_shared_ptr< T >::lazy_shared_ptr ( lazy_shared_ptr< T > &&  other)
inlinenoexcept

Definition at line 303 of file common.hpp.

Member Function Documentation

◆ get()

template<typename T >
T * csv::internals::lazy_shared_ptr< T >::get ( ) const
inlinenoexcept

Definition at line 327 of file common.hpp.

◆ get_or_create()

template<typename T >
template<typename Factory >
T & csv::internals::lazy_shared_ptr< T >::get_or_create ( Factory &&  factory) const
inline

Definition at line 314 of file common.hpp.

◆ operator=()

template<typename T >
lazy_shared_ptr & csv::internals::lazy_shared_ptr< T >::operator= ( lazy_shared_ptr< T > &&  other)
inlinenoexcept

Definition at line 305 of file common.hpp.


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