Find link

language:

jump to random article

Find link is a tool written by Edward Betts.

searching for Downcasting 3 found (13 total)

alternate case: downcasting

Oxygene (programming language) (2,273 words) [view diff] exact match in snippet view article

b); // no downcasting to Object in this method. var aa := 'abc';// type inference var bb := 'def'; DoSwap<String>(aa, bb); // no downcasting to Object
Type safety (3,647 words) [view diff] exact match in snippet view article find links to article
return 0; } The two child classes have members of different types. When downcasting a parent class pointer to a child class pointer, then the resulting pointer
C++ (9,518 words) [view diff] exact match in snippet view article find links to article
of an object, via a base reference/pointer, to a more derived type: downcasting. The attempt is necessary as often one does not know which derived type