Container Adaptors

Please always quote using this URN: urn:nbn:de:0297-zib-4308
  • The C++ standard template library has many useful containers for data. The standard library includes two adpators, queue, and stack. The authors have extended this model along the lines of relational database semantics. Sometimes the analogy is striking, and we will point it out occasionally. An adaptor allows the standard algorithms to be used on a subset or modification of the data without having to copy the data elements into a new container. The authors provide many useful adaptors which can be used together to produce interesting views of data in a container.

Download full text files

Export metadata

Additional Services

Share in Twitter Search Google Scholar
Author:Gary Powell, Martin WeiserORCiD
Document Type:ZIB-Report
Tag:C++; STL; views
D. Software / D.3 PROGRAMMING LANGUAGES / D.3.3 Language Constructs and Features (E.2)
Date of first Publication:1999/12/07
Series (Serial Number):ZIB-Report (SC-99-41)
Published in:Appeared in: C/C++ Users Journal, 18 (2000) No. 4,40-51