explicit type conversion การใช้
- In a cluster, the explicit type conversions " up " and " down " change between the abstract type and the representation.
- In Eiffel, the setup for type conversion is included in the class code, but then appears to happen as automatically as explicit type conversion in client code.
- Explicit type conversions are either indicated by writing additional code ( e . g . adding type identifiers or calling built-in routines ) or by coding conversion routines for the compiler to use when it otherwise would halt with a type mismatch.