Zen
A cross-platform functional programming language

sharedptr< T > Class Template Reference

Shared pointer type. More...

#include <zbl.hpp>

List of all members.

Public Member Functions

 sharedptr (T *t)
 Default constructor.
T & operator* () const
 Return reference to pointed value.

Private Attributes

QSharedPointer< T > _ptr
 The pointer.

Detailed Description

template<typename T>
class z::sharedptr< T >

Shared pointer type.


Constructor & Destructor Documentation

sharedptr ( T *  t) [inline, explicit]

Default constructor.

Parameters:
tInitial value

Member Function Documentation

T& operator* ( ) const [inline]

Return reference to pointed value.

Returns:
Reference to pointed value

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines