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.