Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #87259

Re: how to do implied do loops on write statements in C++ ?

From Bonita Montero <Bonita.Montero@gmail.com>
Newsgroups comp.lang.c++
Subject Re: how to do implied do loops on write statements in C++ ?
Date 2022-11-05 21:35 +0100
Organization A noiseless patient Spider
Message-ID <tk6heq$2ldcs$1@dont-email.me> (permalink)
References <tk6gbg$180g$1@gioia.aioe.org> <18859f39-7a4a-4935-9e90-e844eae87df9n@googlegroups.com>

Show all headers | View raw


Am 05.11.2022 um 21:29 schrieb Michael S:

> There is no direct equivalent in C++ .
> You can use non-direct equivalents like like std::for_each(),
> but if you value your sanity, please do not.
> Just write explicit for() loop.

I use for_each sometimes when it's shorter.

Back to comp.lang.c++ | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

how to do implied do loops on write statements in C++ ? Lynn McGuire <lynnmcguire5@gmail.com> - 2022-11-05 15:16 -0500
  Re: how to do implied do loops on write statements in C++ ? Michael S <already5chosen@yahoo.com> - 2022-11-05 13:29 -0700
    Re: how to do implied do loops on write statements in C++ ? Bonita Montero <Bonita.Montero@gmail.com> - 2022-11-05 21:35 +0100
    Re: how to do implied do loops on write statements in C++ ? Lynn McGuire <lynnmcguire5@gmail.com> - 2022-11-05 19:04 -0500

csiph-web