Custom integer-like datatype with support for static casts without warnings
I’m writing my own little utility library, and I’ve opted to do something which I don’t really see often (and there might be a reason) – I’m trying to implement a ‘perfect’ wrapper around C++ integer classes (think int, long long, etc.). I’ve managed to do this, and it works just fine, but I keep getting warnings from static cast invocations (C4244).