Boost logo

Boost :

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


Bruno Lalande wrote:

> int main(int, char** argv)
> {
> ellipse_traits<ellipse>::width();
> ellipse_traits<circle>::width();
> return 0;
> }

Sorry for the late reply, but from a quick glance I can tell this is
just single dispatch.
Geometric algorithms really need multi-dispatch.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk