This is a metaprogramming traits class used by ScrollbarValueChangedArguments. More...
#include <scrollbar.h>
Public Types | |
enum | { IsCastable = CastStatic } |
Enum used to decide the type of casting to be used by a reference counter of the templated type. | |
typedef UI::ScrollbarValueChangedArguments | RefCountType |
Typedef communicating the reference count type to be used. | |
Static Public Member Functions | |
static RefCountType * | ConstructionPointer (RefCountType *Target) |
Method responsible for creating a reference count for a CountedPtr of the templated type. More... | |
This is a metaprogramming traits class used by ScrollbarValueChangedArguments.
This is need for an intrusive CountedPtr implementation. Should a working external reference count be made this could be dropped in favor of a leaner implementation.
Definition at line 95 of file scrollbar.h.
|
inlinestatic |
Method responsible for creating a reference count for a CountedPtr of the templated type.
Target | A pointer to the target class that is to be reference counted. |
Definition at line 104 of file scrollbar.h.