Define a primitive data type: Difference between revisions
Point to C++ instead of C plus plus
(Haskell solution) |
(Point to C++ instead of C plus plus) |
||
Line 11:
The compiler will omit bounds checking for the assignment of A to B above because both values are of My_Type. A cannot hold a value outside the range of 1..10, therefore the assignment cannot produce an out of bounds result.
==
'''Compiler:''' [[GCC]]
|