@nameless
336 / 300 / 14
Регистрация: 16.06.2009
Сообщений: 486
|
26.06.2011, 19:26
|
|
akahito,
C++ | 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
| #include <iostream>
#include <typeinfo>
template <class T>
void f(T a)
{
std::cout << typeid(a).name() << std::endl;
}
int main()
{
f(7);
return 0;
} |
|
0
|