c++20: 'syncstream' file not found

While most of C++20 seems to be available 'syncstream' is missing (Xcode Version 15.2 (15C500b), macOS SDK 14.2), CLANG_CXX_LANGUAGE_STANDARD= c++20

How can this be made available?

https://www.open-std.org/jtc1/sc22/wg21/docs/papers/2017/p0053r7.pdf

links to an example implementation:

https://github.com/PeterSommerlad/SC22WG21_Papers/tree/master/workspace/p0053_basic_osyncstreambuf

I've no idea if it is usable, I've never tried to use syncstream myself.

Thanks @endecotp! But isn't syncstream not part of the standard, and therefor shouldn't it be available to Xcode?

I doubt you’ll find a document anywhere saying that Apple Clang / libc++ complies with any particular standard.

See also:

https://en.cppreference.com/w/cpp/compiler_support/20

c++20: 'syncstream' file not found
 
 
Q