Container requirements are a little funny in the sense that they are not actually used by any general algorithm. In this sense, it does not really matter.
However, the requirements are on the interface for the containers, not on how the container is actually instantiated. Even classes without templates can meet different requirements and, in fact, do. The requirement is that value_type present; that it is defined is entirely dependent on the implementation of the container.
source share