Is there a reference that decodes the output from typeid().name()?
----- x.cxx ------
#include <iostream>
#include <typeinfo>
class X {
public:
template<typename T> X& operator<<(T const& a_v){
std::cout << typeid(T).name() << std::endl;
}
};
int main(){
X x;
x << "Hello, world!";
x << 1;
x << -1.234;
x << x;
}
-------------------
---- output -----
A14_c
i
d
1X
------------------
--
C.W.Holeman II [email protected] http://JulianLocals.com/cwhii
To only a fraction of the human race does God give the privilege of
earning one's bread doing what one would have gladly pursued free, for
passion. I am very thankful. The Mythical Man-Month Epilogue/F.P.Brooks
_______________________________________________
help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus