Added shared pointer example
gendocs