[postgis-devel] size_t: width and signedness of counters
pramsey at cleverelephant.ca
Tue Jan 9 06:57:00 PST 2018
On Sun, Dec 31, 2017 at 1:55 AM, Sandro Santilli <strk at kbt.io> wrote:
> On Sat, Dec 30, 2017 at 12:53:26PM -0800, Paul Norman wrote:
>> I've been in the habit of using size_t from C++, where it's what all the STL
>> size-related operators use, and thus what you get when you use auto.
> In C++ size_t is usually typedef'ed per-class, as if you could for
> example define POINTARRAY::size_t to be == uint32_t
Re-upping this, I don't have any objection to changing our counters
(npoints, ngeoms) to uint32_t globally, if someone is willing to do
all the grooming and cleaning that will imply.
I'm definitely not interested in going to size_t, cute though that is.
More information about the postgis-devel