Steven Watanabe | 9 Oct 22:05
Picon

Re: Geometry and spatial indexes, my opinion

AMDG

Simonson, Lucanus J wrote:
> I personally believe that runtime indexable is preferable to compile
> time only.  It is like defining an array that is only allowed to take
> compile time constants as indexes.  How useful is that array?
>   

Here's my take on the matter:

An algorithm that uses only compile-time indexing is preferable because
it can work with an arbitrary point class more easily.

A point class that supports runtime indexing is preferable because
it works easily with more algorithms.

In Christ,
Steven Watanabe

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost


Gmane