> Violate the concept? Who said that the concept had to stay
intact?
Besides, where did you find that "concept of uniform type
conceptualization"? I couldn't find any reference to that on
the 'Net.
Well, it just strikes me as odd that a scalar is a type, and a
class is a type, but they can't be uniformly treated in the same
manner. Class counter can never _be_ an integer; it can only
_contain_ an integer member.
On the other hand, the scalars are machine-level types. In the
future we might see a stdlib header file that has:
// types.h -- standard types
class int { ... };
class float { ... };
class double { ... };
....
/*
The traditional scalar typenames are now actually classes and
can be treated like any other class. The actual machine-level
numeric scalars are private and compiler/platform dependant.
If the compiler sees that it can optimize a "scalar" down
to its machine equivalent, it will do so automatically.
*/
Then again, that wouldn't work for C code... it'd have to assume
that C has been obsoleted.
Ray