cosmopolitan/test
Alkis Evlogimenos d44a7dc603
Fix bugs in in ctl::optional (#1203)
Manually manage the lifetime of `value_` by using an anonymous
`union`. This fixes a bunch of double-frees and double-constructs.

Additionally move the `present_` flag last. When `T` has padding
`present_` will be placed there saving `alignof(T)` bytes from
`sizeof(optional<T>)`.
2024-06-07 20:47:24 -04:00
..
ctl Fix bugs in in ctl::optional (#1203) 2024-06-07 20:47:24 -04:00
dsp Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
libc Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
libcxx vim C++ filetype is still spelled "cpp" 2024-06-05 16:34:47 -07:00
math Make malloc() go 200x faster 2024-06-05 02:02:14 -07:00
net Refactor and improve CTL and other code 2024-06-04 05:45:48 -07:00
posix Add some noexcept annotations 2024-06-01 03:19:53 -07:00
tool Run clang-format (#1197) 2024-06-01 16:30:43 -04:00
BUILD.mk Introduce Cosmopolitan Templates Library (CTL) 2024-06-03 09:21:59 -07:00