29 Nov
2018
29 Nov
'18
4:59 p.m.
Dear Paul, dear Olaf,
On 29. Nov 2018, at 14:13, Paul A. Bristow via Boost
wrote: you need a new name for signed axis size?
int axis_size()
perhaps ;-)
both of you basically propose to have two similarly named "size" methods which return `unsigned` and `int` respectively. I really hope that you are kidding as indicated by the smileys in your messages. What I really need is a custom integer type for the index which is signed but can be compared safely with both `int` and `unsigned`. I could create a new integer type with a struct or an enum class and then implement all the operators explicitly. It is a lot of work, though.