A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/classCSafeStaticRef.html below:

NCBI C++ ToolKit: CSafeStaticRef< T

Search Toolkit Book for CSafeStaticRef

CSafeStaticRef<>:: More...

#include <corelib/ncbi_safe_static.hpp>

Inheritance diagram for CSafeStaticRef< T >:

Collaboration diagram for CSafeStaticRef< T >:

Private Member Functions void  x_Init (void)   template<class FUserCreate > void  x_Init (FUserCreate user_create)   Detailed Description template<class T>
class CSafeStaticRef< T >

CSafeStaticRef<>::

For on-demand CObject-derived object. Create the variable of type "T" using CRef<> (to avoid premature destruction). Should be used only as static object. Otherwise the correct initialization is not guaranteed.

Deprecated:
Use CSafeStatic<> instead.

Definition at line 700 of file ncbi_safe_static.hpp.

Member Typedef Documentation ◆ TLifeSpan Constructor & Destructor Documentation ◆ CSafeStaticRef()

Constructor.

Parameters
user_cleanup User-provided cleanup function to be executed on destruction. life_span Life span allows to control destruction of objects.
See also
CSafeStaticPtr_Base

Definition at line 715 of file ncbi_safe_static.hpp.

Member Function Documentation ◆ Get() [1/2]

template<class T >

template<class FUserCreate >

◆ Get() [2/2] ◆ operator*() ◆ operator->() ◆ Set() ◆ sx_SelfCleanup() ◆ x_CastPtr() ◆ x_Init() [1/2]

template<class T >

template<class FUserCreate >

◆ x_Init() [2/2]

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


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4