C++ Logo


Advanced search

Subject: [SG16-Unicode] New P/R for LWG 3328
From: Billy O'Neal (VC LIBS) (bion_at_[hidden])
Date: 2019-11-08 02:55:41

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.]


SG16 list run by herb.sutter at gmail.com