Back

GitHub


Containers

Summary

Is an individual project about implementing the various container types of the C++ standard template library, in C++98.

Introduction

The standard C++ containers have all a specific usage. To make sure you understand them, let’s re-implement them!

In this project, you will implement a few container types of the C++ standard template library. You have to take the structure of each standard container as reference. If a part of the Orthodox Canonical form is missing in it, do not implement it. As a reminder, you have to comply with the C++98 standard, so any later feature of the containers MUST NOT be implemented, but every C++98 feature (even deprecated ones) is expected

Compiling

Allowed/Forbidden

You are not coding in C anymore. Time to C++! Therefore:

A few design requirements

Mandatory part

Implement the following containers and turn in the necessary <container>.hpp files:

Requirements

Testing

Bonus part

You will get extra points if you implement one last container: