cheshirekow
v0.1.0
|
proves a means of turning a PointRef into a Point& More...
#include <mpblocks/clarkson93/ExampleTraits.h>
Public Member Functions | |
const Point & | operator() (PointRef ptr) |
proves a means of turning a PointRef into a Point&
In the example traits PointRef is a Point* so we simply dereference this pointer. If PointRef were an index into an array of Point structures, then PointDeref should store a pointer to the beginning of that array. For example
Definition at line 105 of file ExampleTraits.h.
Definition at line 107 of file ExampleTraits.h.