24 Sep
2018
24 Sep
'18
4:33 p.m.
On Mon, 24 Sep 2018 at 16:19, Hans Dembinski via Boost
On 24. Sep 2018, at 13:24,
wrote: shape() is more concise than `size() + has_overflow() + has_underflow()`, and the doxy string explains what it returns. If you have a better name, let me know
I suppose total_size() or full_size() is more intuitive, but of course not so elegant to have both size() and total_size().
total_size() is less ambiguous than shape(), so I am half-convinced. I would like to have one-word method instead of two-word method.
I'm not great in naming things, but perhaps: size() shape -> capacity() // as total size including optionally enabled space uoflow() -> tails() Best regards, -- Mateusz Loskot, http://mateusz.loskot.net