Support Board
Date/Time: Sat, 20 Dec 2025 04:06:16 +0000
Post From: determining length of an array?
| [2020-11-17 12:47:08] |
| User907968 - Posts: 860 |
|
Ok, I understand now. So you could just use your original method, but do the size calculation is the calling function rather than the callee, or use std::size (https://en.cppreference.com/w/cpp/iterator/size), again, in the calling function. |
