Boost logo

Boost Users :

From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-06-18 12:55:59


AMDG

Sean Farrow wrote:
> I need to convert and std::string to an int, should I use Lexical_cast
> or can I just use static_cast?

You should use lexical_cast. A static_cast won't compile.

In Christ,
Steven Watanabe


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