libostd/ostd
q66 db28b66892 workaround the awful bullshit when formatting numbers under locale
Because of the C++ locale APIs and libstdc++ being worthless trash,
we need to resort to this kind of nonsense in order to avoid
gibberish when dealing with grouping and decimal separators.

Libc++ gets this right (comes up with ASCII style representations
when requesting locale facets dealing with char type) but for some
dumb reason libstdc++ comes up with representations that are
garbage even when using a UTF-8 locale, so I guess we'll deal
with it this way for the time being...

That said, all of this code is probably broken on systems that
don't use Unicode and honestly I don't care.
2017-11-12 20:14:26 +01:00
..
ext use <> for includes everywhere 2017-06-19 16:59:36 +02:00
algorithm.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
argparse.hh gcc/libstdc++ 7.x fixes 2017-11-03 12:56:34 +01:00
channel.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
concurrency.hh yield current task in single-threaded coroutine scheduler on spawn 2017-11-05 22:10:22 +01:00
context_stack.hh get rid of gcc specific workarounds 2017-11-10 20:19:25 +01:00
coroutine.hh gcc/libstdc++ 7.x fixes 2017-11-03 12:56:34 +01:00
environ.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
event.hh type/include cleanup 2017-04-09 16:44:45 +02:00
filesystem.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
format.hh workaround the awful bullshit when formatting numbers under locale 2017-11-12 20:14:26 +01:00
generic_condvar.hh doc cleanups 2017-04-12 19:12:09 +02:00
io.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
platform.hh doc cleanups 2017-04-12 19:12:09 +02:00
process.hh get rid of gcc specific workarounds 2017-11-10 20:19:25 +01:00
range.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
stream.hh use C locale in I/O and format by default 2017-11-12 19:15:43 +01:00
string.hh use <> for includes everywhere 2017-06-19 16:59:36 +02:00
thread_pool.hh threaded build.cc 2017-04-30 20:16:49 +02:00
unit_test.hh gcc/libstdc++ 7.x fixes 2017-11-03 12:56:34 +01:00
vecmath.hh type/include cleanup 2017-04-09 16:44:45 +02:00