$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2002-02-22 10:27:38
On Friday 22 February 2002 14:11, David Abrahams wrote:
> ----- Original Message -----
> From: <nbecker_at_[hidden]>
>
> > 1) I completely agree that the design of complex, which disallows
> > direct access to real and imag, is a mistake. real() and imag()
> > should return a ref.
>
> Real numericists need much more than that. They need layout identical to
> that of a POD struct for C/Fortran interoperability:
>
> template <class T> struct complex_layout {
> T real;
> T imag;
> };
>
>
If I'm not mistaking, you were going to report this, together with rwgk, to
the commitee. Has this been done already ? AFAICT it did not come up in all
the responses to Herb Sutter's extension question but is super important for
all numeric applications.