From: Glen Knowles (gknowles_at_[hidden])
Date: 2004-02-28 13:27:34
>I guess I don't understand the whole concept now. T* -> void* sounds
>like "narrowing", since it loses information. int -> long never loses
>information, so "widening" makes sense to me. What is the criterion?
This is why I like C++'s choice of base and derived, there's never any
confusion. You have the concepts of narrowing and widening correct but
backwards. You narrow a type to a more specific derived type and widen one
to a more general base type.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk