Lecture 6 - Slide 14 : 40
Member types - ambiguities

Some ambiguities may occur - in part related to uses of member types of containers

ambiguities-1.cpp
Illustration of a couple of ambiguities.
ambiguities-1-compiler-error-messages
Compiler error messages.
ambiguities-2.cpp
Ambiguities resolved.
ambiguities-3.cpp
An alternative resolution of the ambiguity .