template<typename T>
T xtime(T x)
{
return ((x<<1) ^ (((x>>7) & 1) * 0x1b));
}
solved Converting a macro into a function
template<typename T>
T xtime(T x)
{
return ((x<<1) ^ (((x>>7) & 1) * 0x1b));
}
solved Converting a macro into a function