The Vish Visualization Shell 0.3
Vish
List of all members
MemCore::Auto< Object > Struct Template Reference

A wrapper for constructing automatic or static objects or any kind of object whose destruction shall not be managed by strong reference pointers, but reference pointers to it are still allowed. More...

#include <elementary/memcore/RefPtr.hpp>

Inheritance diagram for MemCore::Auto< Object >:
Wizt::VFilter< AcceptList< InputType >, FunctionObject, OutputType > Wizt::VFilter< AcceptList< InputTypes >, FunctionObject, OutputType > Wizt::VFilter< AcceptList< FunctionObject::InputType >, FunctionObject, FunctionObject::OutputType > Wizt::VSink< AcceptList< InputTypes >, FunctionObject > Wizt::VSink< AcceptList< InputType >, FunctionObject > Wizt::VSource< OutputType, FunctionObject > Wizt::VFilter< InputTypes, FunctionObject, OutputType > Wizt::VSink< InputTypes, FunctionObject > Wizt::VSink< FunctionObject, void > Wizt::VSource< FunctionObject, OutputType >

Detailed Description

template<class Object>
struct MemCore::Auto< Object >

A wrapper for constructing automatic or static objects or any kind of object whose destruction shall not be managed by strong reference pointers, but reference pointers to it are still allowed.

The constructor just increments the strong reference count to allow code such as:

{
{
RefPtr<X> px = &x;
}
}
A reference counting pointer class which keeps objects alive as long as strong pointers to these obje...
Definition RefPtr.hpp:405
A wrapper for constructing automatic or static objects or any kind of object whose destruction shall ...
Definition RefPtr.hpp:374