|
-
February 12th, 2009, 01:37 AM
#1
[RESOLVED] Equivalance Typeof Operator Suggestion
Hello to all expert, i have a class template like this.
Code:
template <typename T, class edgeType>
class graph;
I would like to implement MF differently when different type of edgeType is supplied, for instance, arcs was supplied, then i identify this as directed graph and i just insert one set of edge.
If edge, then i insert two sets of edge.
Any typeof operator in C++ STL ?
Thanks.
Thanks for your help.
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
|