20 template <>
void write(std::ostream& out,
double data)
24 template <>
void write(std::ostream& out, std::complex<double> data)
25 { out <<
Dbl(data.real()) <<
Dbl(data.imag()); }
28 template <>
void write(std::ostream& out,
int data)
32 template <>
void write(std::ostream& out,
long data)
36 template <>
void write(std::ostream& out,
bool data)
37 { out <<
Bool(data); }
Wrapper for an bool value, for formatted ostream output.
Wrapper for a double precision number, for formatted ostream output.
Wrapper for an int, for formatted ostream output.
Wrapper for a long int, for formatted ostream output.
Utility classes for scientific computation.
void write(std::ostream &out, double data)
Explicit specialization of write for double data.