Name Date Size #Lines LOC

..--

type_traits/H--2,0581,196

utility/H--17397

README.mdH A D09-Dec-2025757 1411

algorithm.hH A D09-Dec-20251.6 KiB5028

array.hH A D09-Dec-20252.7 KiB8155

atomic.hH A D09-Dec-202515.9 KiB431333

bit.hH A D09-Dec-20259.7 KiB299207

bitset.hH A D09-Dec-20253.1 KiB9563

cstddef.hH A D09-Dec-20252.6 KiB7560

expected.hH A D09-Dec-20251.9 KiB6137

functional.hH A D09-Dec-20252.5 KiB7246

iterator.hH A D09-Dec-20253.3 KiB10074

limits.hH A D09-Dec-20252.9 KiB9361

mutex.hH A D09-Dec-20251.7 KiB5222

new.cppH A D09-Dec-20251.2 KiB4528

new.hH A D09-Dec-20254.8 KiB13180

optional.hH A D09-Dec-20254.1 KiB14095

span.hH A D09-Dec-20254.4 KiB13290

string.hH A D09-Dec-20257.4 KiB235184

string_view.hH A D09-Dec-20257.5 KiB223131

stringstream.hH A D09-Dec-20253.1 KiB9754

type_traits.hH A D09-Dec-20253.7 KiB7160

utility.hH A D09-Dec-2025754 198

README.md

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