Replace shared_ptr example with global ptr
Replace shared_ptr example with global ptr

The shared_ptr example code was not working as intended. It was put there as a mistake.
zhangsu/ccspec,zhangsu/ccspec,zhangsu/ccspec