C++ Logo

std-proposals

Advanced search

int arr[] = {1..10}; (or for containers)

From: sreeraj c <sreerajc.programming_at_[hidden]>
Date: Sun, 8 Aug 2021 22:39:41 +0530
Instead of using std::iota or loops, when we have compile time
constant values it would be easy to write like this.


Thanks
Sreeraj

Received on 2021-08-08 12:09:55