Feeds:
Posts
Comments

Archive for January 20th, 2012

JG Question

1. When should you use shared_ptr vs. unique_ptr? List as many considerations as you can.

 

Guru Questions

2. Why should you always use make_shared to allocate objects whose lifetimes will be managed by shared_ptr? Explain.

3. What’s the deal with auto_ptr?

Read Full Post »

GotW #102: Solution

The solution to GotW #102 is now live.

Read Full Post »

Follow

Get every new post delivered to your Inbox.

Join 2,149 other followers