tree: b09ead689c44e53a28444ef1fa94e3dc0ffc71ea [path history] [tgz]
  1. BUILD.gn
  2. OWNERS
  3. README.md
  4. circular_deque.h
  5. circular_deque_unittest.cc
  6. meta/
  7. template_util.h
  8. test_objects.h
  9. vector_buffer.h
  10. vector_buffer_unittest.cc
src/lib/containers/cpp/README.md

Specialized C++ Containers

Scope

This directory containers some specialized data structures that are meant to augment the C++ Standard Library. Do not add containers that solve the same problems that a container from the Standard Library does. Do not add containers that are useful in the kernel. Those should go in the FBL.

This library never produces I/O.

Dependencies

Code in this library can only depend on the following sources:

  • The C Standard Library.
  • The C++ Standard Library.
  • The Safemath Library.

No other dependencies are allowed.

Supported Platforms

Code in this library should build both for host and target. Unit tests should validate the behaviour on both host and target.

Naming Convention

The rational is that if a container has STL-like behaviour, it should follow the STL naming convention. That is, the name classes use under_score instead of the PascalCase used in the rest of Fuchsia.