#include <iostream>
#include <typeinfo>

template <class T, class U> struct bar {};

int main(int argc, char* argv[])
{
    using namespace std;

    bar<int, const float*> test;
    cout << typeid(test).name() << endl;
    // struct bar<int,float const *>
    // -- msvc9 std::type_info::name() returns demangled names
}