Questions tagged [sizes]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
4answers
94 views

API design: Should a count() of a set of consecutively-id'ed elements return a size type?

I'm writing C++ code, where the standard library has an idiomatic type for representing sizes: std::size_t. Now, I'm writing a function which counts certain kinds of objects; and these objects have ...