To fix some warnings and potential 64 bit traps in libkdtree, I need to choose between size_t and unsigned int.<br><br>For number of dimensions, I would assume that noone would ever get close to a size_t maximum, or even an unsigned short max (65536 dimensions anyone?)...&nbsp; so it could be anything.<br>
<br>as for count_within_range() and things like that, in theory maybe it should be size_t (eg std:list::size() returns a size_t) ?&nbsp; or is everyone happy with unsigned ints?<br><br>does anyone know what the &quot;standard&quot; policy is on this?&nbsp; from what I can tell, size_t will allow you to store the largest integer number on that platform (eg max memory address etc) whereas unsigned int is the most efficient integer size...<br>
<br>thanks,<br>Paul<br><br>