|
|
|
|
|
by mikulas_florek
3368 days ago
|
|
> casting pointer to meters into pointer to yards, while many C features force or encourage this behaviour. What C feature forces or encourages casting Meters* to Yards*? > You also cannot override operators for combining those units. The lack of operator overloads has nothing to do with typesafety. There are languages which are considered typesafe and which do not have operator overloading. |
|