cosmopolitan/libc/integral
Steven Dee (Jōshin) 9a5a13854d
CTL: utility.h, use ctl::swap in string (#1227)
* Add ctl utility.h

Implements forward, move, swap, and declval. This commit also adds a def
for nullptr_t to cxx.inc. We need it now because the CTL headers stopped
including anything from libc++, so we no longer get their basic types.

* Use ctl::swap in string

The STL spec says that swap is located in the string_view header anyawy.
Performance-wise this is a noop, but it’s slightly cleaner.
2024-06-19 01:00:59 -04:00
..
c.inc Fix c.inc _Atomic define for C++ (#1231) 2024-06-17 21:12:02 -07:00
cxx.inc CTL: utility.h, use ctl::swap in string (#1227) 2024-06-19 01:00:59 -04:00
cxxtypescompat.inc Initial import 2020-06-15 07:18:57 -07:00
llp64.inc Get VSCode working with Linux and WSL (#116) 2021-03-09 10:12:39 -08:00
lp64.inc Import C++ Standard Template Library 2022-03-22 06:41:54 -07:00
lp64arg.inc Remove plenty of makefile misconfigurations 2022-07-21 09:20:59 -07:00
normalize.inc Release Cosmopolitan v3.4.0 2024-06-05 03:07:03 -07:00