Support Board
Date/Time: Sat, 01 Nov 2025 22:49:10 +0000
Post From: determining length of an array?
| [2020-11-17 12:47:08] |
| User907968 - Posts: 847 |
|
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. |
