Type system for primitive values that carries meaning. Meters shouldn't be added to feet, ID of one entity can't be used as ID of another etc.
I know some languages implement such features, but these aren't mainstream ones.
I know some languages implement such features, but these aren't mainstream ones.
For instance, a password can never leak to logging or a client response. An unescaped user input can never leak to a client response unless explicitly casted - and user provided data from a database counts this way too!
Meanwhile a randomly picked library can either roll its own solution or pick a suitable one. Presumably Boost Units is all but standard.