Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-06-08 14:44:40


----- Original Message -----
From: "Gary Powell" <Gary.Powell_at_[hidden]>
> >>
> Expressions such as f + 4 or f - f don't make any sense to the user,
> however.
> == and != are especially bad cases because users who think of 'function'
as
> a
> function pointer would expect them to exist. I can poison all of the
> operators, but it hardly seems worth it.
>
> <<
> Anytime you can make the compiler detect invalid code its worth it. Bugs
> found by running a program are hugely more expensive to find and fix than
> one's caught by the compiler. (Never seen by users or QA)

I've been staying out of it, but mostly because I think points such as
Gary's have become so obvious as to be nearly unworthy of mention. If
convincing is needed, however, I vote for the simpler, more-restrictive
interface.

-Dave


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