does a pointer keep track of time stamps when it is created?
i am trying to use it to create a table that can store the access count and the temporal locality at the same time. i am completely new to pointers.
If you're new to pointers, then it might be helpful to remember that a pointer is just a number. It's a single, integer number, that identifies an address in memory.
"Pointer" is not the answer, "class" is. Class encapsulates some data and provides an interface to access that data. The interface can keep record of access; if you can modify the data only via a member function of the class, then that function can update counters every time it is called.
(The class can be separate from the actual data, a "smart pointer" type.)