Click here to Skip to main content
15,923,374 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: Article for STL Pin
toxcct23-Aug-05 2:36
toxcct23-Aug-05 2:36 
GeneralRe: Article for STL Pin
ThatsAlok23-Aug-05 3:11
ThatsAlok23-Aug-05 3:11 
QuestionDeciding STL list element type at runtime? Pin
johtib21-Aug-05 20:15
johtib21-Aug-05 20:15 
AnswerRe: Deciding STL list element type at runtime? Pin
toxcct21-Aug-05 22:56
toxcct21-Aug-05 22:56 
GeneralRe: Deciding STL list element type at runtime? Pin
Roland Pibinger21-Aug-05 23:35
Roland Pibinger21-Aug-05 23:35 
GeneralRe: Deciding STL list element type at runtime? Pin
toxcct21-Aug-05 23:50
toxcct21-Aug-05 23:50 
GeneralRe: Deciding STL list element type at runtime? Pin
Stuart Dootson22-Aug-05 22:34
professionalStuart Dootson22-Aug-05 22:34 
GeneralRe: Deciding STL list element type at runtime? Pin
Axter23-Aug-05 23:01
professionalAxter23-Aug-05 23:01 
I recommend using something like a clone smart pointer instead of a share_ptr. A clone pointer doesn't share it's pointer, so you can copy it from one part of the container to another, without having multiple parts of your container pointing to the same data.
See following link:
http://www.codeproject.com/vcpp/stl/clone_ptr.asp[^]
The above clone pointer not only will transfer from one part of the container to the next, but it also has many of it's operators dereferencing the pointer, so it acts like a concrete type.

#include <clone_ptr.h>

list<clone_ptr<type> > theList;
theList.push_back(new Int(5));
theList.push_back(new Float(2.1));



Top ten member of C++ Expert Exchange.
http://www.experts-exchange.com/Cplusplus
GeneralRe: Deciding STL list element type at runtime? Pin
Stuart Dootson23-Aug-05 23:10
professionalStuart Dootson23-Aug-05 23:10 
GeneralWhat's the diff between ALT and COM Pin
Axter17-Aug-05 15:01
professionalAxter17-Aug-05 15:01 
GeneralRe: What's the diff between ALT and COM Pin
Christian Graus17-Aug-05 16:27
protectorChristian Graus17-Aug-05 16:27 
GeneralRe: What's the diff between ALT and COM Pin
geo_m18-Aug-05 20:00
geo_m18-Aug-05 20:00 
GeneralRe: What's the diff between ALT and COM Pin
Jörgen Sigvardsson21-Aug-05 10:25
Jörgen Sigvardsson21-Aug-05 10:25 
GeneralRe: What's the diff between ALT and COM Pin
ThatsAlok22-Aug-05 22:33
ThatsAlok22-Aug-05 22:33 
GeneralWTL, CString and std::string... Pin
S/Madjid16-Aug-05 5:25
S/Madjid16-Aug-05 5:25 
GeneralRe: WTL, CString and std::string... Pin
Steve S16-Aug-05 6:23
Steve S16-Aug-05 6:23 
GeneralRe: WTL, CString and std::string... Pin
Rob Caldecott16-Aug-05 11:54
Rob Caldecott16-Aug-05 11:54 
GeneralRe: WTL, CString and std::string... Pin
Jörgen Sigvardsson16-Aug-05 13:18
Jörgen Sigvardsson16-Aug-05 13:18 
GeneralRe: WTL, CString and std::string... Pin
S/Madjid16-Aug-05 23:59
S/Madjid16-Aug-05 23:59 
GeneralRe: WTL, CString and std::string... Pin
Rob Caldecott17-Aug-05 0:23
Rob Caldecott17-Aug-05 0:23 
GeneralRe: WTL, CString and std::string... Pin
Rob Caldecott17-Aug-05 0:17
Rob Caldecott17-Aug-05 0:17 
GeneralRe: WTL, CString and std::string... Pin
Jörgen Sigvardsson17-Aug-05 9:42
Jörgen Sigvardsson17-Aug-05 9:42 
GeneralRe: WTL, CString and std::string... Pin
Rob Caldecott17-Aug-05 11:22
Rob Caldecott17-Aug-05 11:22 
QuestionIs there anyway to disable IE's image displaying? Pin
Member 186720216-Aug-05 4:53
Member 186720216-Aug-05 4:53 
GeneralCComObject Pin
rahulv9916-Aug-05 1:30
rahulv9916-Aug-05 1:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.