468,272 Members | 2,001 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,272 developers. It's quick & easy.

How to use typelist?

I dont know how to use typelist.

Sep 25 '06 #1
3 2329

Is********@gmail.com wrote:
I dont know how to use typelist.
Well, what would you like to use it for?

Refer to Alexandrescu's 'Modern C++ Design' for a good description.

Jeff

Sep 25 '06 #2

Jeff Faust wrote:
Is********@gmail.com wrote:
I dont know how to use typelist.

Well, what would you like to use it for?

Refer to Alexandrescu's 'Modern C++ Design' for a good description.

Jeff
I'm read this book now.

Sep 25 '06 #3

Is********@gmail.com wrote:
Jeff Faust wrote:
Is********@gmail.com wrote:
I dont know how to use typelist.
Well, what would you like to use it for?

Refer to Alexandrescu's 'Modern C++ Design' for a good description.

Jeff

I'm read this book now.
A typelist is a mechanism to group types together. You could use this
to perform compile-time checks based on what typelist a particular type
belongs to. I've also used a typelist implementation to create a
type-maintaining linked-list structure.

Alexandrescu also uses typelists to create a "ad hoc visitor".

Jeff

Sep 25 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

205 posts views Thread by Jeremy Siek | last post: by
reply views Thread by Jon Slaughter | last post: by
1 post views Thread by Krivenok Dmitry | last post: by
reply views Thread by Dave Branton | last post: by
2 posts views Thread by Marco Wedekind | last post: by
1 post views Thread by ares.lagae | last post: by
4 posts views Thread by suman.nandan | last post: by
reply views Thread by NPC403 | last post: by
reply views Thread by zattat | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.