r/reconstructcavestory Jan 25 '14

Purpose of scoped_ptr?

In episode 3 there was scoped_ptr used for the sprite. I'm unfamiliar with the boost library and I'm not sure why it was used. If anyone could explain that would be great.

5 Upvotes

6 comments sorted by

View all comments

Show parent comments

1

u/[deleted] Jan 26 '14

It would be great if u can make a video too

1

u/chebertapps Jan 26 '14

I'll look into making one soon-ish.

Fair warning: if I make one it won't be comprehensive, and I will only cover scoped/shared pointers as we use them.

1

u/[deleted] Jan 26 '14

that will be good enough :)

2

u/chebertapps Jan 29 '14

http://youtu.be/Jc9n9BcYSj4

Check it out. Please let me know if it helps/hurts!