Boost Users :
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-21 12:22:32
Chris Ross wrote:
> When I try to use boost::lexical_cast<int>(anyvar), I get compile
> errors as:
> Line 51 of db.cc is:
> int v = boost::lexical_cast<int>(is);
> Can anyone else figure out why the above compile fails?
any does not support streaming, which is required for lexical_cast.
std::cout << is << std::endl;
should give similar errors.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net