Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Gee, Toto, I don't think we're in Kansas anymore.


devel / comp.lang.c++ / Idea for range based for loop with reverse iteration

SubjectAuthor
o Idea for range based for loop with reverse iterationBonita Montero

1
Idea for range based for loop with reverse iteration

<uv89f6$1ju42$1@raubtier-asyl.eternal-september.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=3571&group=comp.lang.c%2B%2B#3571

  copy link   Newsgroups: comp.lang.c++
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!raubtier-asyl.eternal-september.org!.POSTED!not-for-mail
From: Bonita.M...@gmail.com (Bonita Montero)
Newsgroups: comp.lang.c++
Subject: Idea for range based for loop with reverse iteration
Date: Thu, 11 Apr 2024 11:11:06 +0200
Organization: A noiseless patient Spider
Lines: 7
Message-ID: <uv89f6$1ju42$1@raubtier-asyl.eternal-september.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Thu, 11 Apr 2024 11:11:03 +0200 (CEST)
Injection-Info: raubtier-asyl.eternal-september.org; posting-host="60f5ab8b13164cf87238791110f9e482";
logging-data="1702018"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19lBbbiMJkzkDra7VqlNjAYhm9bmOb04xI="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:9b/elJieKHC2XSXFQI/ISGJMBNQ=
Content-Language: de-DE
 by: Bonita Montero - Thu, 11 Apr 2024 09:11 UTC

I just had the idea that a range based for loop could be used
with reverse-iteration through a span<>

for( auto &value : span( container.rbegin(), container.rend() ) )
...

Cool ?


devel / comp.lang.c++ / Idea for range based for loop with reverse iteration

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor