Click here to Skip to main content
15,908,172 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCSimpleArray ? Pin
ZBUILDER14-Dec-02 19:35
ZBUILDER14-Dec-02 19:35 
AnswerRe: CSimpleArray ? Pin
Renjith Ramachandran14-Dec-02 20:13
Renjith Ramachandran14-Dec-02 20:13 
GeneralRe: CSimpleArray ? Pin
ZBUILDER14-Dec-02 20:18
ZBUILDER14-Dec-02 20:18 
GeneralRe: CSimpleArray ? Pin
Jörgen Sigvardsson15-Dec-02 4:28
Jörgen Sigvardsson15-Dec-02 4:28 
AnswerRe: CSimpleArray ? Pin
Jörgen Sigvardsson15-Dec-02 4:29
Jörgen Sigvardsson15-Dec-02 4:29 
GeneralHelp with context menu programming. Pin
trustno114-Dec-02 15:43
trustno114-Dec-02 15:43 
GeneralTemplate class question... Pin
Matt Gullett14-Dec-02 14:56
Matt Gullett14-Dec-02 14:56 
GeneralRe: Template class question... Pin
Taka Muraoka14-Dec-02 15:51
Taka Muraoka14-Dec-02 15:51 
This looks like an example of some really contemporary design techniques (policies) described by Andrei Alexandrescu in his book "Modern C++ Design."

While his ideas look great in theory, I've never been game to try them out because they look like a maintenance nightmare and it would be harder to find developers capable of maintaining such sophisticated code. Don't be fooled - writing (good) templated code is *much* harder than it first might appear (and VC6's support for templates is woeful!)

There's no reason why a simpler solution would not be just as effective e.g. creating your worker classes as you describe but instantiating them and passing them to ExecutionPlan as runtime parameters rather than templated, compile-time parameters.

If you go the template route, I'd be very interested to hear how it went. Write an article about it!



he he he. I like it in the kitchen! - Marc Clifton (on taking the heat when being flamed)

Awasu v0.4a[^]: A free RSS reader with support for Code Project.

GeneralRe: Template class question... Pin
Matt Gullett14-Dec-02 16:03
Matt Gullett14-Dec-02 16:03 
GeneralRe: Template class question... Pin
Taka Muraoka14-Dec-02 16:17
Taka Muraoka14-Dec-02 16:17 
GeneralRe: Template class question... Pin
Matt Gullett14-Dec-02 16:45
Matt Gullett14-Dec-02 16:45 
GeneralRe: Template class question... Pin
Taka Muraoka14-Dec-02 16:55
Taka Muraoka14-Dec-02 16:55 
GeneralRe: Template class question... Pin
Matt Gullett14-Dec-02 17:04
Matt Gullett14-Dec-02 17:04 
GeneralRe: Template class question... Pin
Todd Smith14-Dec-02 17:11
Todd Smith14-Dec-02 17:11 
GeneralRe: Template class question... Pin
Matt Gullett14-Dec-02 17:23
Matt Gullett14-Dec-02 17:23 
GeneralHelp on Overlapped Serial IO Pin
work_to_live14-Dec-02 13:44
work_to_live14-Dec-02 13:44 
GeneralRe: Help on Overlapped Serial IO Pin
work_to_live14-Dec-02 14:21
work_to_live14-Dec-02 14:21 
GeneralRe: Help on Overlapped Serial IO Pin
Michael Dunn14-Dec-02 15:55
sitebuilderMichael Dunn14-Dec-02 15:55 
GeneralRe: Help on Overlapped Serial IO Pin
patk14-Dec-02 17:07
patk14-Dec-02 17:07 
GeneralRe: Help on Overlapped Serial IO Pin
work_to_live14-Dec-02 17:57
work_to_live14-Dec-02 17:57 
GeneralRe: Help on Overlapped Serial IO Pin
patk14-Dec-02 18:49
patk14-Dec-02 18:49 
GeneralRe: Help on Overlapped Serial IO Pin
work_to_live14-Dec-02 19:23
work_to_live14-Dec-02 19:23 
GeneralRe: Help on Overlapped Serial IO Pin
work_to_live14-Dec-02 20:01
work_to_live14-Dec-02 20:01 
GeneralRe: Help on Overlapped Serial IO Pin
patk15-Dec-02 2:35
patk15-Dec-02 2:35 
GeneralDeskband remove check Pin
14-Dec-02 13:33
suss14-Dec-02 13:33 

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.