
28 Sep
2004
28 Sep
'04
1:41 p.m.
Vladimir Prus <ghost@cs.msu.su> wrote:
Maxim Yegorushkin wrote:
In generic code lexical_cast<> is sometimes used as a cast to the same type. I would like to shortcut this rather then going all the way by writing it to a stream and reading back.
Do you mean you sometimes use lexical_cast to cast between two types, neither of which is std::string?
Rather both of them are. Do you still need an example? -- Maxim Yegorushkin