[Mpi-forum] C++ types inaccessible after #281
jedbrown at mcs.anl.gov
Tue Jun 26 10:05:21 CDT 2012
On Tue, Jun 26, 2012 at 6:33 AM, Jeff Hammond <jhammond at alcf.anl.gov> wrote:
> So one issue to consider here is that std::complex is a template, not
> a single type. One can presumably stick lots of types inside the
Good thing the C++ standards committee nipped that one in the bud:
*The effect of instantiating the template complex for any type other than
float, double, or long double is unspecified. The specializations
complex<float>, complex<double>, and complex<long double> are literal types
> So the MPI Forum needs to figure out which of the existing C99 types
> that will work with this. Do we support std::complex<long double>?
> How about std::complex<uint64_t>?
> My reference is http://www.cplusplus.com/reference/std/complex/complex/,
As a standards guy, why not use a standard (or a final draft, which you can
have for free)?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the mpi-forum