prog.cpp: In function ‘int main()’:
prog.cpp:24:8: warning: unused variable ‘i’ [-Wunused-variable]
auto i = bit_sizeof(pInt);
^
prog.cpp: In instantiation of ‘int bit_sizeof(T) [with T = int*]’:
prog.cpp:24:27: required from here
prog.cpp:6:14: error: invalid operands of types ‘int*’ and ‘int*’ to binary ‘operator^’
x^=x;
^
prog.cpp:6:14: error: in evaluation of ‘operator^=(int*, int*)’
prog.cpp:7:14: error: invalid operands of types ‘int*’ and ‘int’ to binary ‘operator|’
x|=1;
^
prog.cpp:7:14: error: in evaluation of ‘operator|=(int*, int)’
prog.cpp:8:18: error: invalid conversion from ‘int*’ to ‘long long int’ [-fpermissive]
a=b=c=x;
^
prog.cpp:11:14: error: invalid conversion from ‘long long int’ to ‘int*’ [-fpermissive]
x=b;
^
prog.cpp:16:22: error: invalid conversion from ‘long long int’ to ‘int*’ [-fpermissive]
x=b;
^