Boost logo

Boost :

Subject: Re: [boost] Geometry and spatial indexes, my opinion
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-09 16:05:00


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

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