fun with templates: part two – type factories

Scenario: I have a template that takes a significant number of arguments, but in the most common use scenarios, there are some constraints that can be applied. I want to make it easier for clients to use the templates in the most common cases. template <       typename command_base_t,       typename thread_policy_t,       typename completion_policy_t,…


Fun with templates, part one – abstracting operations:

[edited 7-23-08: updated title, tags] I’m planning a talk on template use, and thought my blog might be a good way to gether my thoughts, and also to share some of the concepts that I’ve been working with. Over the next few days (or maybe weeks) I’ll try to post a number of articles dealing…

1