0_0_31739903_1539.cpp: In instantiation of 'void print(T&) [with T = int]':
0_0_31739903_1539.cpp:100:18: required from here
0_0_31739903_1539.cpp:23:19: error: invalid initialization of non-const reference of type 'int&' from an rvalue of type 'int'
print(x/10);
^
0_0_31739903_1539.cpp:18:26: note: in passing argument 1 of 'void print(T&) [with T = int]'
template<typename T>void print(T &x)
^
|