By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,193 Members | 826 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,193 IT Pros & Developers. It's quick & easy.

How to use typelist?

P: n/a
I dont know how to use typelist.

Sep 25 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a

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

P: n/a

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

P: n/a

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.