Patch for complex streaming
Petter Urkedal
petter@matfys.lth.se
Sat Apr 1 00:00:00 GMT 2000
At the moment the complex streaming operators does not make it
into the library, since they depend on template parameters.
Further, input is only a stub. The Attached files
src/complexio.cc
testsuite/26_numerics/complexio_input.cc
and the patch should fix this. Please note:
-- Since the stream operators have a different character than
the rest of the operators in `src/complex.cc' -- they depend on
more template parameters, and their specializations for float,
double and long double needs no special treatment -- I decided
to move them into a separate file `src/complexio.cc'. OK?
-- At present all instantiations are in one file. Do you think
we shall split them into a dozen of file like done for the string
stuff?
Requests? Otherwise,
2000-02-12 Petter Urkedal <petter@matfys.lth.se>
* std/complex.cc (operator<<, operator>>): Moved from here...
* src/complexio.cc: ...to new file.
(operator>>): Stub replaced by the real thing.
* src/Makefile.am (sources): Inserted complexio.cc.
* testsuite/26_numerics/complexio_input.cc: Check it.
Cheers,
-petter.
More information about the Libstdc++
mailing list