$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: David Abrahams (david.abrahams_at_[hidden])
Date: 2002-02-22 08:11:14
----- 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;
};