Boost logo

Boost :

Subject: Re: [boost] A design for geometric objects
From: Mathias Gaunard (mathias.gaunard_at_[hidden])
Date: 2008-11-15 20:41:13

Simonson, Lucanus J wrote:

> Also, geometry objects can be arbitrarily heavy. One polygon has the
potential to be many megabytes in my application domain.
> While it is possible to return by value for light objects and pass outputs as arguments for heavy objects, it would make for a highly inconsistent and unintuitive API.

For clarification, by light objects I mean proxies and adaptors, in a
DSEL kind of way.
Basically the aim is that the algorithm is not applied when you call the
function, but when you copy the result.

The spirit is fairly similar to the range adaptors of Boost.RangeEx for

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