Remake
Public Member Functions | Public Attributes | List of all members
ref_ptr< T >::content Struct Reference

Public Member Functions

 content ()
 
 content (T const &t)
 

Public Attributes

size_t cnt
 
val
 

Detailed Description

template<class T>
struct ref_ptr< T >::content

Definition at line 483 of file remake.cpp.

Constructor & Destructor Documentation

◆ content() [1/2]

template<class T >
ref_ptr< T >::content::content ( )
inline

Definition at line 487 of file remake.cpp.

487 : cnt(1) {}

◆ content() [2/2]

template<class T >
ref_ptr< T >::content::content ( T const &  t)
inline

Definition at line 488 of file remake.cpp.

488 : cnt(1), val(t) {}

Member Data Documentation

◆ cnt

template<class T >
size_t ref_ptr< T >::content::cnt

◆ val

template<class T >
T ref_ptr< T >::content::val

Definition at line 486 of file remake.cpp.

Referenced by ref_ptr< T >::operator*().


The documentation for this struct was generated from the following file:
ref_ptr::content::cnt
size_t cnt
Definition: remake.cpp:485
ref_ptr::content::val
T val
Definition: remake.cpp:486