Util--  1.1
Public Types | List of all members
utilmm::smart::count_pointer< Ty > Struct Template Reference

reference counting pointer definition traits More...

#include <utilmm/smart/count_pointer.hh>

Public Types

typedef pointer< manager_typetype
 The smart pointer type. More...
 

Detailed Description

template<typename Ty>
struct utilmm::smart::count_pointer< Ty >

reference counting pointer definition traits

This structure is just an helper to have direct access for the basic smart pointer using a reference counting life time manager.

Parameters
TyThe type we want to point to

To use a smart pointer with reference count managament user just need to declare the type like in following code.

// [...]
*pi = 6;
pj = pi;
See also
utilmm::smart::pointer
utilmm::smart::ref_count::manager
Author
Frédéric Py fpy@l.nosp@m.aas..nosp@m.fr

Member Typedef Documentation

◆ type

template<typename Ty>
typedef pointer<manager_type> utilmm::smart::count_pointer< Ty >::type

The smart pointer type.

This the type of the smart pointer with reference counting management.


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

Generated on Wed Oct 17 2018 09:34:19 for Util-- by doxygen 1.8.13
SourceForge.net Project Page