mardi 30 janvier 2018

Is std::queue or std::stack an implementation of Adapter or Proxy pattern?

std::queue and std::stack are called STL adapters. But are those Adapter patterns or those are more Proxy pattern implementations, as they restrict/control the access to the surrogate object.

Aucun commentaire:

Enregistrer un commentaire