Bit compatibility cpp