Welcome to the XPS & OPC APIs

My team has been heads down getting some great stuff together for all of you working on printing & beyond, so I haven’t been writing as much lately. I haven’t abandoned those of you who follow my blog for PrintTicket, though things in that space have been pretty quiet around here for the most part….

0

more typelists & templates

My co-worker Aaron was quick to reply to my earlier post on templates in type-lists with this alternative: You instead add a non-templated function invoker object:   struct factory_invoker{     template <class a, class b>     struct apply{         typedef typedef factory<a,b>::type type;     }; };   Then your typelist has normal types in the…

1

random bits of Windows-related stuff

[Mohave] Microsoft’s ‘new’ operating system is apparently doing well at wow-ing customers. This sounds fun, and I’m looking forward to seeing how this story develops. http://news.cnet.com/8301-13860_3-9998336-56.html?tag=nefd.lede [crash dumps] Ben Martens has a good point here: send your crash dumps, we care! We don’t necessarily look at every one, one by one, but in aggregate, we…

0

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,…

0

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

template metaprogramming: type lists of templates

Ok, I said in an earlier post that I wasn’t going to cover metaprogramming, but I have to post just this one.. it’s a bit of a useful technique, and I haven’t seen it described anywhere else. I’ve been playing around with template metaprogramming in my spare time, and I ran accross an interesting C++ metaprogramming…

0