Boost logo

Boost Users :

From: Nat Goodspeed (nat_at_[hidden])
Date: 2008-06-18 13:05:40


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?

Use lexical_cast. Your compiler won't like static_cast.


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