Boost logo

Boost :

Subject: Re: [boost] [histogram] should some_axis::size() return unsigned or int?
From: Olaf van der Spek (ml_at_[hidden])
Date: 2018-11-29 12:15:44

On Thu, Nov 29, 2018 at 12:41 PM Hans Dembinski via Boost
<boost_at_[hidden]> wrote:
> Every axis type is required to have a size() method, which returns the number of bins along that axis (without counting extra bins for under- and overflow). Should this method return `unsigned` or `int`?

size() returns unsigned
ssize() returns signed ;)


Boost list run by bdawes at, gregod at, cpdaniel at, john at