Fix doxygen formatting.

Some of the member functions in smartpointer.h did not have documentation according to a format that doxygen would pick up.