Boost logo

Boost :

From: Sylvain Pion (pion_at_[hidden])
Date: 2002-09-06 11:47:36


On Fri, Sep 06, 2002 at 06:19:05PM +0200, Gabriel Dos Reis wrote:
> | Do you use std::complex just to store a pair of floats ? No.
>
> Yes.
>
> As coordinates of point in the Euclidian plane. I get scalar product
> and determinant for free.

You missed the "just" in my sentence.
If you get the scalar product, it's not "just to store" anymore.

> | So I am still on the position that there should either be no default
> | Comparison_policy,
>
> Well, if the argument is that you don't want the default, then just don't
> use it.

A default should have a justification that it's generally useful, more than
other possibilities. Otherwise, why this one and not another one ?

-- 
Sylvain

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