Boost logo

Geometry :

Subject: [ggl] Header inclusion guards
From: Mateusz Loskot (mateusz)
Date: 2009-04-21 05:13:48

Bruno Lalande wrote:
>> I may take a look at GTL for inspiration, but unless
>> there is a plan to 'steal' some of its concepts
>> or merging, I'm not going to invest substantial amount of time in
>> researching this project.
> There's actually a project of merging.

OK, then the situation has changed :-)
If merging is beneficial, as it seems to be, then I'm OK with it.

> I have initiated it recently on
> the Boost list. The idea would be to take the core concepts of both
> libraries and extract one common core from them, and to have the
> remaining (algorithms, geometries, concepts models) using this common
> core. The remaining would thus be kept separated at first, and the
> common core could be proposed to Boost. Then the remaining could be
> integrated, as extensions.

Sounds as a good idea.

> This common core would be some sort of "library of concepts", with
> mechanisms to easily add new geometry types and integrate them in the
> existing ones. For example, it has to be possible to add a "triangle"
> type that takes advantage of all the algorithms existing on "polygon"
> and specializes some of them. The first decision we'll have to do will
> be to choose between tag dispatching and SFINAE for the distribution
> of algorithms overloads among geometry types.

OK, I'll monitor the discussion.

> Though I didn't have much time to dig this since my proposal, I still
> have the intention to do it. People on the list and authors of both
> libraries were interested by the idea.


Best regards,

Mateusz Loskot,

Geometry list run by mateusz at