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.