can i use std::map for storing smart pointers? 
Author Message
 can i use std::map for storing smart pointers?

subj.

thank you.

--
mr.black's here...



Sun, 05 Oct 2003 02:12:22 GMT  
 can i use std::map for storing smart pointers?

Quote:
> subj.

Don't do that. Always put the text of your question in the body of your
post.

Quote:
> can i use std::map for storing smart pointers?

Yes, you can use reference counted pointers designed to be used with
collections.

and

No, you can't use std_autoptr.

NeilB



Sun, 05 Oct 2003 01:55:54 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how can I store function pointers in a map

2. Storing function pointers in map

3. Error using Microsoft's implementation of std::map

4. Having problems with using std::map

5. Passing std::set and std::map objects between 2 dlls

6. Using the class in the std::map inside the definition of class itself

7. mem leaks when using std::map in a dll

8. Using Smart Pointers or Interface Wrapper classes?

9. Collections Add method using smart pointers

10. Using CoUninitialize and a smart pointer in the same procedure

11. Using Smart pointers in dialog??

12. Using Smart pointers in COM server

 

 
Powered by phpBB® Forum Software