cosmopolitan/libc/alg
Justine Tunney 868af3f950 Import C++ Standard Template Library
You can now use the hardest fastest and most dangerous language there is
with Cosmopolitan. So far about 75% of LLVM libcxx has been added. A few
breaking changes needed to be made to help this go smoothly.

- Rename nothrow to dontthrow
- Rename nodiscard to dontdiscard
- Add some libm functions, e.g. lgamma, nan, etc.
- Change intmax_t from int128 to int64 like everything else
- Introduce %jjd formatting directive for int128_t
- Introduce strtoi128(), strtou128(), etc.
- Rename bsrmax() to bsr128()

Some of the templates that should be working currently are std::vector,
std::string, std::map, std::set, std::deque, etc.
2022-03-22 06:41:54 -07:00
..
alg.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
alg.mk Make more functions friendly to Address Sanitizer 2021-02-02 03:45:31 -08:00
arraylist.internal.h Get codebase completely working with LLVM 2021-02-09 02:57:32 -08:00
arraylist2.internal.h wip on intellisense (again) 2021-02-02 11:14:45 -05:00
bisect.internal.h Make improvements 2022-03-16 13:40:10 -07:00
bisectcarleft.internal.h Get Cosmopolitan into releasable state 2020-11-25 08:19:00 -08:00
bsearch.c Change license 2020-12-27 17:18:44 -08:00
bsearch_r.c Change license 2020-12-27 17:18:44 -08:00
critbit0.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
critbit0_allprefixed.c Change license 2020-12-27 17:18:44 -08:00
critbit0_clear.c Change license 2020-12-27 17:18:44 -08:00
critbit0_contains.c Change license 2020-12-27 17:18:44 -08:00
critbit0_delete.c Change license 2020-12-27 17:18:44 -08:00
critbit0_emplace.c Fix build from docker build with alpine from macOS (#286) 2021-10-25 13:39:05 -07:00
critbit0_get.c Fix build from docker build with alpine from macOS (#286) 2021-10-25 13:39:05 -07:00
critbit0_insert.c Change license 2020-12-27 17:18:44 -08:00
internal.h Initial import 2020-06-15 07:18:57 -07:00
replacestr.c Make fixes, improvements, and chibicc python bindings 2021-10-08 08:41:57 -07:00
reverse.internal.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
shuffle.internal.h Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
tarjan.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00