From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12419 invoked by alias); 5 Dec 2018 15:05:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 12396 invoked by uid 89); 5 Dec 2018 15:05:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=char8_t, p0482r5, honermann, Honermann X-HELO: mail-ot1-f67.google.com Received: from mail-ot1-f67.google.com (HELO mail-ot1-f67.google.com) (209.85.210.67) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 05 Dec 2018 15:05:49 +0000 Received: by mail-ot1-f67.google.com with SMTP id s5so18867651oth.7 for ; Wed, 05 Dec 2018 07:05:48 -0800 (PST) MIME-Version: 1.0 References: <1de934a1-cc14-26fe-a18c-5de855271187@honermann.net> <38dd7b69-3e86-215d-2450-245716939cd3@honermann.net> In-Reply-To: <38dd7b69-3e86-215d-2450-245716939cd3@honermann.net> From: Jason Merrill Date: Wed, 05 Dec 2018 15:05:00 -0000 Message-ID: Subject: Re: [PATCH 1/9]: C++ P0482R5 char8_t: Documentation updates To: Tom Honermann Cc: gcc-patches List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2018-12/txt/msg00285.txt.bz2 On Wed, Dec 5, 2018 at 2:10 AM Tom Honermann wrote: > > On 12/3/18 2:59 PM, Jason Merrill wrote: > > On 11/5/18 2:39 PM, Tom Honermann wrote: > >> This patch adds documentation for new -fchar8_t and -fno-char8_t > >> options. > >> > >> gcc/ChangeLog: > >> > >> 2018-11-04 Tom Honermann > >> * doc/invoke.texi (-fchar8_t): Document new option. > > > >> +Enable support for the P0482 proposal including the addition of a > >> +new @code{char8_t} fundamental type, changes to the types of UTF-8 > > > > Now that the proposal has been accepted, I'd refer to C++2a instead. > > Agreed. I also need to make the changes to implicitly enable -fchar8_t > with -std=c++2a. > > The list of impacted standard library features was incomplete and I > suspect it isn't worth mentioning them specifically. Perhaps mentioning > the feature test macros would be helpful as well? > > How does the following sound? > > Enable support for @code{char8_t} as adopted for C++2a. This includes > the addition of a new @code{char8_t} fundamental type, changes to the > types of UTF-8 string and character literals, new signatures for user > defined literals, associated standard library updates, and new > @code{__cpp_char8_t} and @code{__cpp_lib_char8_t} feature test macros. Sounds good. Jason