Date: Fri, 13 Dec 2024 13:53:41 -0300
On Friday 13 December 2024 12:09:06 Brasilia Standard Time Yexuan Xiao via
Std-Proposals wrote:
> for(std::size_t i{}; i != std::extent_v<arr>; ++i) { /* */ };
Write instead:
for (std::size_t i = 0; i != std::size(arr); ++i)
with arr here being the actual array variable instead of the array type.
Std-Proposals wrote:
> for(std::size_t i{}; i != std::extent_v<arr>; ++i) { /* */ };
Write instead:
for (std::size_t i = 0; i != std::size(arr); ++i)
with arr here being the actual array variable instead of the array type.
-- Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org Principal Engineer - Intel DCAI Platform & System Engineering
Received on 2024-12-13 16:53:51