Providing RWTCountingPointer with a Counter
The
RWAtomicCounter class is generally used as the
Counter template parameter for
RWTCountingPointer<Body,Counter>:
RWTCountingPointer<int, RWAtomicCounter> pointer = new int(10);
For more information on implementing a custom counter class, see
RWTCountingPointer in the reference guide.