README.md
1This directory contains re-implementations of some C++ standard library
2utilities, as well as some LLVM utilities. These utilities are for use with
3internal LLVM libc code and tests.
4
5More utilities will be added on an as needed basis. There are certain rules to
6be followed for future changes and additions:
7
81. Only two kind of headers can be included: Other headers from this directory,
9and free standing C headers.
102. Free standing C headers are to be included as C headers and not as C++
11headers. That is, use `#include <stddef.h>` and not `#include <cstddef>`.
123. The utilities should be defined in the namespace `__llvm_libc::cpp`. The
13higher level namespace should have a `__` prefix to avoid symbol name pollution
14when the utilities are used in implementation of public functions.
15