[Bug 255374] C++20 features (headers) std::concepts, std::format, std::numbers, std::source_location, etc. are missing

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 17 May 2023 07:12:34 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=255374

--- Comment #26 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mark Millard from comment #25)

I found my copy of 13.2-RELEASE and its header is similar
in some respects but it instead has:

. . .
#ifndef _LIBCPP_FORMAT
#define _LIBCPP_FORMAT
. . .

// Enable the contents of the header only when libc++ was built with
LIBCXX_ENABLE_INCOMPLETE_FEATURES.
#if !defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)

. . .

#endif // !defined(_LIBCPP_HAS_NO_INCOMPLETE_FORMAT)

#endif // _LIBCPP_FORMAT

So it looks like there was a reclassification from
it being an incomplete-feature in clang 14 to it
being an experimental-feature in clang 15.

I do not know if FreeBSD has a uniform handling of
experimental-status material in its LLVM. It might
be that "incomplete feature" is no longer a thing
in LLVM --so I'm not sure if the analogous question
would even apply now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.