Support Board
Date/Time: Mon, 15 Sep 2025 14:28:02 +0000
Post From: determining length of an array?
[2020-11-17 12:47:08] |
User907968 - Posts: 844 |
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. |