This meeting will start in 5 minutes!

Tom.

On 7/30/24 6:38 PM, Tom Honermann via SG16 wrote:

SG16 will hold a meeting tomorrow on Wednesday, July 31st, at 19:30 UTC (timezone conversion).

The agenda follows.

LEWG has requested that we review P3068R2 with respect to std::exception and related types and encoding concerns for the message provided by the what() member function. The concerns are effectively the same as those reported in LWG 4087, but in the special case of constant evaluation.

We discussed LWG 4087 during the 2024-06-12 SG16 meeting. Unfortunately, I still haven't published the meeting summary for that meeting (work, life, burnout), so that link isn't helpful right now. I'll respond to this email with a copy of the (excellent) minutes that Eddie Nolan took for that meeting. We spent much of that meeting discovering what the status quo is with regard to the standard wording. We didn't poll any direction. The status quo appears to be:

The status quo suggests that, for the purposes of std::format(), the string returned by what() should be treated as containing (possibly ill-formed) text in the NTMBS encoding of the current C++ locale (or perhaps an explicitly provided std::locale argument).

With respect to P3068R2, there is currently no notion of a locale dependent NTMBS encoding during constant evaluation. We'll need to discuss the ramifications of this, presumably identify an encoding to use instead (presumably the ordinary literal encoding), and determine how to adjust wording accordingly.

Tom.