Patch for complex streaming
Benjamin Kosnik
bkoz@cygnus.com
Sat Apr 1 00:00:00 GMT 2000
Cool. This patch is in, thanks. Nicely done. . .
> -- 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?
wise anyway, as this will isolate them from C9X -vs- ISO14882 issues.
> -- 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?
nooooooooooo
Eventually the goal is to have the linker do this stuff anyway.
> 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.
2000-02-15 Petter Urkedal <petter@matfys.lth.se>
* src/complex.cc (operator<<, operator>>): Moved from here...
* src/complex_io.cc: ...to new file.
(operator>>): Stub replaced by the real thing.
* src/Makefile.am (sources): Inserted complex_io.cc.
* src/Makefile.in: Regenerate.
* testsuite/26_numerics/complex_inserters_extractors.cc: Check it.
More information about the Libstdc++
mailing list