|
-
October 8th, 2005, 01:47 PM
#1
Limit the type's used in a templated class.
Let’s say I have a linked list class, templated. How can I prevent the user of my class from using some types of data in the class, or, how can I only allow them to use some predefined types?
I do not have any code for this, as it is a general question.
Thanks for any help you can give.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|