This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: [Patch] Whole regex refactoring and current status
- From: Paolo Carlini <paolo dot carlini at oracle dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>, Tim Shen <timshen91 at gmail dot com>
- Cc: libstdc++ <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 08 Aug 2013 12:22:22 +0200
- Subject: Re: [Patch] Whole regex refactoring and current status
- References: <CAPrifDkAoudaXf=Rwu7jGiBa8nWf9HUx-TQUNGe5a0krJ7pUug at mail dot gmail dot com> <yddfvukpklg dot fsf at lokon dot CeBiTec dot Uni-Bielefeld dot DE>
Hi,
>This is already documented:
>
>http://gcc.gnu.org/onlinedocs/libstdc++/manual/source_code_style.html#coding_style.bad_identifiers
Indeed. As a simple to remember rule never use single underscore + single uppercase. Usually we add a p, like _Cp, etc. Plenty of examples everywhere. At the moment I can't do the search&replace, any such patch is preapproved though.
Thanks,
Paolo