# libc ## add Functional - [libc++ num_put](../../../core/libs/prx/libc/src/LibcxxOstream.cpp) (libc) - guests cannot derive from the classic facet because its constructor, vtable and do_put members have no exports. Deleting the facet throws invalid_argument. Formatting follows [LLVM libc++ 17.0.6](https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/libcxx/include/locale) and uses classic values where ctype or numpunct is a placeholder. Long strings from guest numpunct use unsized deallocation. - [libc++ basic_ostream arithmetic inserters](../../../core/libs/prx/libc/src/LibcxxOstream.cpp) (libc) - only the `bool`, `short`, `unsigned short`, `int`, `unsigned int`, `long`, `unsigned long`, `float` and `double` `operator<<` are exported; the `long long`, `unsigned long long`, `long double`, pointer, stream buffer and manipulator overloads are not. They follow [LLVM libc++ 17.0.6](https://github.com/llvm/llvm-project/blob/llvmorg-17.0.6/libcxx/include/ostream) `` and ``, not a console module, and call the `num_put` of the stream's locale through its vtable. `fill()` widens a space through the locale's `ctype` while the fill holds EOF. An exception from a facet sets `badbit` and is rethrown only when the exception mask has `badbit`. A stream with a null locale throws `invalid_argument` without setting `badbit`.