tree: a8751f0f44a23a0dd19c29c7afbc7eee8f4c276a [path history] [tgz]
  1. meta/
  2. array_view.h
  3. array_view_unittest.cc
  4. BUILD.gn
  5. circular_deque.h
  6. circular_deque_unittest.cc
  7. OWNERS
  8. ownership.h
  9. README.md
  10. template_util.h
  11. test_objects.h
  12. vector_buffer.h
  13. 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.