220 26166 <b0a14f0f-a350-4a50-9c91-c3effed2ba1b@isocpp.org> article
Path: news.gmane.org!not-for-mail
From: Jacob Lifshay <programmerjake@gmail.com>
Newsgroups: gmane.comp.lang.c++.isocpp.proposals
Subject: Allowing unnammed loop variable in range-based for loops?
Date: Fri, 3 Jun 2016 20:23:15 -0700 (PDT)
Lines: 18
Approved: news@gmane.org
Message-ID: <b0a14f0f-a350-4a50-9c91-c3effed2ba1b@isocpp.org>
References: <6b4ef651-55b3-4b93-a6ac-574b55c7f759@isocpp.org>
Reply-To: std-proposals@isocpp.org
NNTP-Posting-Host: plane.gmane.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_1270_1221469094.1465010596040"
X-Trace: ger.gmane.org 1465010607 27511 80.91.229.3 (4 Jun 2016 03:23:27 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Sat, 4 Jun 2016 03:23:27 +0000 (UTC)
To: ISO C++ Standard - Future Proposals <std-proposals@isocpp.org>
Original-X-From: std-proposals+bncBDULRZGIRMHRBJMTZG5AKGQE3OMKQAY@isocpp.org Sat Jun 04 05:23:25 2016
Return-path: <std-proposals+bncBDULRZGIRMHRBJMTZG5AKGQE3OMKQAY@isocpp.org>
Envelope-to: gclcip-std-proposals@m.gmane.org
Original-Received: from mail-vk0-f69.google.com ([209.85.213.69])
	by plane.gmane.org with esmtp (Exim 4.69)
	(envelope-from <std-proposals+bncBDULRZGIRMHRBJMTZG5AKGQE3OMKQAY@isocpp.org>)
	id 1b92BH-00017r-Vb
	for gclcip-std-proposals@m.gmane.org; Sat, 04 Jun 2016 05:23:24 +0200
Original-Received: by mail-vk0-f69.google.com with SMTP id x7sf22360176vkf.0
        for <gclcip-std-proposals@m.gmane.org>; Fri, 03 Jun 2016 20:23:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=isocpp-org.20150623.gappssmtp.com; s=20150623;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=zASh380UpFvBBSfv4gHsncmMh2ea47NQdViUeZA1eok=;
        b=PnuVoXMUuN9vwE28v3ujT4tsYEambE63a1AOmYr6asOIeDTYsnSdeZPQJRs4OaUwE5
         tmW1IkHuS+eGphlAkiVsEkZ1iGg7ymPHFe6rBb7WRPwpI0Xjr6Cd6JbiOfFTER+bmCtb
         PrxhV35vTMY1anpAfX2srggFK+y0UzTZCd2K4/mbT3zglqIGOCdfjRjC1XJIKUlWCTpF
         evYmha4Ry3VQZgZVF08tjrXh2lnY1w4jXpy0qGx1A/FJSOhxpja1HRgzGmcagZCcc2+e
         JdcBXrGzvPEl762OcOJ+7h1QFS6e65Klaycow8txcFswLKe7bGo2md6DYkFFcAtFPVDb
         WQEg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:message-id:in-reply-to:references:subject:mime-version
         :x-original-sender:reply-to:precedence:mailing-list:list-id
         :x-spam-checked-in-group:list-post:list-help:list-archive
         :list-subscribe:list-unsubscribe;
        bh=zASh380UpFvBBSfv4gHsncmMh2ea47NQdViUeZA1eok=;
        b=FtlVDixxG1baoFN7+5+wHCO2NEWYqDhLvKc/HbZw85qcpKyFMMfYzwh8dFux/FiW5y
         ceBlc6eURnKt6g0BxB513rrO+NGAoYcLQ2y4RnFEYnIqei/C+reJ9pc2CCgAdl+JnvPn
         +rIO6alKWtN+ndZhBG7ecq+mKCtl64Rn3VgIGof4b1H1X0dB3k6KqhDDc7rZiRso3xlW
         NRPO7xwhdie7tguHd9eiTwm3ulEWdS3kh64SbR/8fEQbk3+IT7LHO5QyfCvfpmXetHnU
         4JpH3ATAcRU/2phUokBkw9MFMbQTKSaZWbCHgQ9fdLcYmWoLh9H5CzogJ6WO1tUPHUCp
         +haw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:date:from:to:message-id:in-reply-to:references
         :subject:mime-version:x-original-sender:reply-to:precedence
         :mailing-list:list-id:x-spam-checked-in-group:list-post:list-help
         :list-archive:list-subscribe:list-unsubscribe;
        bh=zASh380UpFvBBSfv4gHsncmMh2ea47NQdViUeZA1eok=;
        b=E1Hv5ChLIsKsKeWAa18lJKSxjlQMz/z45+UY7TRBsrB/RLGN1y9S+ZePQaar+AlcSR
         Jpu7i/oPdlGvPpxqyOQ1+KaOR9co0gHZBakBBoEBzWRRd2t/lY/Ftg/+6Vh3k2OWEAQF
         w6p7QA1RbKDDJrA1LBGf1Nbl3r5xHamDcxTp+s4yQjiQSV+fOVsDOaWcF6Qs5URRqN9w
         41y/DJLI81QMtQ8hJUynQJ6RBUu3mDYISobmzQaFiorxQ2QvZHwV30gfXVeTETWXgr/9
         eScY2auGQL51DlGdXD+Xe3HHYk4ftfMVgs2WFf4wEQoA7UTkeRL548VQw3eTYaM+k7E4
         JgHg==
X-Gm-Message-State: ALyK8tKQaEro5W5jEHi0nFOoglRphI/6kp38g8PRPUzgr+JT9mgWXUTLP901nUSl35BQ9Q==
X-Received: by 10.159.37.72 with SMTP id 66mr4990264uaz.9.1465010598025;
        Fri, 03 Jun 2016 20:23:18 -0700 (PDT)
X-BeenThere: std-proposals@isocpp.org
Original-Received: by 10.107.6.201 with SMTP id f70ls579526ioi.4.gmail; Fri, 03 Jun
 2016 20:23:17 -0700 (PDT)
X-Received: by 10.36.105.74 with SMTP id e71mr89907itc.5.1465010597090;
        Fri, 03 Jun 2016 20:23:17 -0700 (PDT)
In-Reply-To: <6b4ef651-55b3-4b93-a6ac-574b55c7f759@isocpp.org>
X-Original-Sender: programmerjake@gmail.com
Precedence: list
Mailing-list: list std-proposals@isocpp.org; contact std-proposals+owners@isocpp.org
List-ID: <std-proposals.isocpp.org>
X-Spam-Checked-In-Group: std-proposals@isocpp.org
X-Google-Group-Id: 399137483710
List-Post: <https://groups.google.com/a/isocpp.org/group/std-proposals/post>, <mailto:std-proposals@isocpp.org>
List-Help: <https://support.google.com/a/isocpp.org/bin/topic.py?topic=25838>, <mailto:std-proposals+help@isocpp.org>
List-Archive: <https://groups.google.com/a/isocpp.org/group/std-proposals/>
List-Subscribe: <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>,
 <mailto:std-proposals+subscribe@isocpp.org>
List-Unsubscribe: <mailto:googlegroups-manage+399137483710+unsubscribe@googlegroups.com>,
 <https://groups.google.com/a/isocpp.org/group/std-proposals/subscribe>
Xref: news.gmane.org gmane.comp.lang.c++.isocpp.proposals:26166
Archived-At: <http://permalink.gmane.org/gmane.comp.lang.c++.isocpp.proposals/26166>

------=_Part_1270_1221469094.1465010596040
Content-Type: text/plain; charset=UTF-8

You could also extend the syntax to
for( : range(25))
{
}

to not even dereference the implicit iterator.

-- 
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/b0a14f0f-a350-4a50-9c91-c3effed2ba1b%40isocpp.org.

------=_Part_1270_1221469094.1465010596040--

.
