Re: integer type usage choices and implicit narrowing conversions
Reply #17 –
Then use koord for the map-coordinates, and something like koord32 for others. Could be achieved with a template as well
template<cl**** some_int> koord_base {
some_int x,y
};
typedef koord koord_base<sint16>;
Another thing that comes to my mind are the min/max functions. They take int's and return int's. Why not define macros here instead?