dave at boost-consulting.com
Thu Oct 10 19:00:14 CEST 2002
Stefan Seefeld <seefeld at sympatico.ca> writes:
> hi there,
> I'v defined 'std::ostream &operator << (std::ostream &, const Matrix &);'
> and then def'ed 'str' as documented in the tutorial. Everything compiles
> fine, but when I try to print my matrix, I get
> RuntimeError: bad lexical cast: source type value could not be
> interpreted as target
> What went wrong ?
I don't know. Did you consult the lexical_cast documentation?
David Abrahams * Boost Consulting
dave at boost-consulting.com * http://www.boost-consulting.com
More information about the Cplusplus-sig