November 08, 2008Re: null and type safety
Posted in reply to KennyTM~
Reply to KennyTM~, > Just create a struct with an int as its only member? > But if you do that then you have to explicitly build all of the math overloads. Sometimes, they ALL end up as simple shells so why force the programer to build them all? Also it forces the compiler to use the int code generator rather than potentially not inlineing.