Boost logo

Boost Users :

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


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, kalb at, bjorn.karlsson at, gregod at, wekempf at