$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-07-16 08:18:01
----- Original Message -----
From: "Paul A. Bristow" <pbristow_at_[hidden]>
> I like the boost process - it catches mistypes
>
> > Shouldn't the value type be 'T' and not hard-wired 'double'? Yes, of
> course.
>
> and comes up with excellent suggestions!
>
> When I get back from holiday, I will try to post a first draft,
> using this proposal.
>
> Unless there are other suggestions?
> Or are there contrary views on the possible costs of this?
> Do current compilers handle this efficienctly enough?
Speaking of efficiency, you'd probably do well to leave off the
exception-specifications. That will result in a pessimization on many
compilers. Since the functions are inline, most compilers will be able to
deduce that they can't throw anyway.
-Dave