Skip to content

[libc++] does not define __cpp_lib_format #77773

@h-2

Description

@h-2

dff62f5

states that

Some std::formatter specializations are not yet available since the class used in the specialization has not been implemented in libc++. This prevents the feature-test macro to be set.

Which specializations are that? I think it is unfortunate that the header is available for a while, but conforming code that relies on the macro cannot use it. Furthermore, __cpp_lib_format_ranges and __cpp_lib_format_uchar are set, which is weird, because they are features that build on __cpp_lib_format so implementations might even think that checking one of the former is sufficient, even though in this situation it is not?

Metadata

Metadata

Assignees

Labels

libc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions