C++ Logo

sg16

Advanced search

[SG16-Unicode] New P/R for LWG 3328

From: Billy O'Neal (VC LIBS) <"Billy>
Date: Fri, 8 Nov 2019 08:55:41 +0000
Hello Jeff and SG16.

In LWG today there were 4 concerns raised:

  1. Historic => historical
  2. Missing :: in the u8path reference
  3. ISO rules forbid ‘should’ in notes.
  4. The ‘should in new code’ form is somewhat ‘preachy’ and we should say why.

To those ends, how about this:

[Note: The example above is representative of a historical use of filesystem::u8path. Passing a std::u8string to path’s constructor is preferred for an indication of UTF-8 encoding more consistent with path’s handling of other encodings. -- end note.]

Billy3


Received on 2019-11-08 09:55:45