I know I could wrap COST_TIME into structs, but I'd have to redefine a ton of standard operations (multiply/divide by ints, doubles, etc.). It does give me close control over what is and what is not allowed (eg. sum/minus only with own type).
Are there other options? These are low level types so they are performance critical.
@IWishIKnew: Of course; I didn't mean "bullshit" as in "CPP done fucked up", but as "Both have an entirely different meaning to the reader/programmer".
@Cubbi: As always, your answer is exactly what I was looking for. Thanks!