This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libstdc++, C++17] Implement C++17 P0330 size_t UDL.
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: Ed Smith-Rowland <3dw4rd at verizon dot net>
- Cc: "libstdc++ at gcc dot gnu dot org" <libstdc++ at gcc dot gnu dot org>, gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 21 Jul 2016 07:30:02 +0100
- Subject: Re: [libstdc++, C++17] Implement C++17 P0330 size_t UDL.
- Authentication-results: sourceware.org; auth=none
- References: <aca30f43-620d-a12f-a74b-73cf6be1473c@verizon.net>
On 21/07/16 00:18 -0400, Ed Smith-Rowland wrote:
This patch defines
operator""zu(unsigned long long __n)
for size_t literals.
for (auto k = 0zul; k < v.size(); ++k)
...
Testing on x86-64-linux is finishing but I'm past these tests.
OK?
P0330 isn't in C++17. In Oulu LEWG voted to forward it to LWG for
C++Next (i.e. C++20) and LFTSv3. I don't think LWG reviewed it yet.
https://issues.isocpp.org/show_bug.cgi?id=77