cosmopolitan/libc/x
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
..
bingblit.c Change license 2020-12-27 17:18:44 -08:00
filecmp.c Import some Lua documentation 2021-08-22 15:03:04 -07:00
makedirs.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
replaceuser.c Remove more nonstandard stuff from cosmopolitan.h 2021-03-01 00:18:23 -08:00
rmrf.c Improve system call support 2021-08-25 21:36:17 -07:00
tunbing.c Make C memory safe like Rust 2021-02-01 03:58:46 -08:00
unbingbuf.c Change license 2020-12-27 17:18:44 -08:00
unbingstr.c Change license 2020-12-27 17:18:44 -08:00
utf8toutf16.c Add MODE=optlinux build mode (#141) 2021-10-14 19:36:49 -07:00
utf8toutf32.c Make numerous improvements 2021-09-28 01:52:34 -07:00
utf16to32.c Make numerous improvements 2021-09-28 01:52:34 -07:00
utf16toutf8.c Make numerous improvements 2021-09-28 01:52:34 -07:00
x.h Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
x.mk Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
xasprintf.c Change license 2020-12-27 17:18:44 -08:00
xbarf.c Improve Libc by making Python work even better 2021-08-18 22:16:23 -07:00
xcalloc.c Change license 2020-12-27 17:18:44 -08:00
xdie.c Change license 2020-12-27 17:18:44 -08:00
xdirname.c Change license 2020-12-27 17:18:44 -08:00
xdtoa.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
xdtoaf.c Improve signal handling and math 2021-02-25 18:33:33 -08:00
xdtoal.c Make pow() conform to standard definition 2021-03-03 09:21:27 -08:00
xgetline.c Improve backwards compatibility with GNU Make 2021-05-02 07:48:59 -07:00
xhomedir.c Improve linenoise and get it working on Windows 2021-08-15 14:34:05 -07:00
xjoinpaths.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
xload.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
xloadzd.c Productionize new APE loader and more 2021-10-02 08:27:03 -07:00
xmalloc.c Change license 2020-12-27 17:18:44 -08:00
xmemalign.c Change license 2020-12-27 17:18:44 -08:00
xmemalignzero.c Make numerous improvements 2021-09-28 01:52:34 -07:00
xreadlink.c Improve system call support 2021-08-25 21:36:17 -07:00
xreadlinkat.c Improve system call support 2021-08-25 21:36:17 -07:00
xrealloc.c Make major improvements to redbean and libraries 2021-04-18 12:34:15 -07:00
xsigaction.c Introduce --strace flag for system call tracing 2022-03-18 18:07:28 -07:00
xslurp.c Update curl example to support ssl / https 2021-07-06 13:39:18 -07:00
xspawn.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
xstrcat.c Improve Python tree-shaking 2021-09-06 19:24:10 -07:00
xstrdup.c Change license 2020-12-27 17:18:44 -08:00
xstripext.c Make numerous improvements 2021-09-28 01:52:34 -07:00
xstripexts.c Experiment with making Python go faster 2021-08-18 21:57:11 -07:00
xstrmul.c Change license 2020-12-27 17:18:44 -08:00
xstrndup.c Change license 2020-12-27 17:18:44 -08:00
xvalloc.c Change license 2020-12-27 17:18:44 -08:00
xvasprintf.c Make Cosmopolitan ANSI C89 compatible 2021-02-03 17:48:59 -08:00
xvspawn.c Improve ZIP filesystem and change its prefix 2021-08-22 01:11:53 -07:00
xwrite.c Change license 2020-12-27 17:18:44 -08:00