Boost logo

Boost Users :

From: Miro Jurisic (macdev_at_[hidden])
Date: 2004-04-30 18:34:23

In article
 "DY, JERRY U (SBCSI)" <jd2419_at_[hidden]> wrote:

> string s2 = lexical_cast<string>((int)c) // s2 = "65"

I would have written int(c) instead of (int)c because compilers perform more
useful checking on the constructor than they do on the cast, but that's all.


If this message helped you, consider buying an item
from my wish list: <>

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at