Boost logo

Boost :

From: Maxim Yegorushkin (e-maxim_at_[hidden])
Date: 2004-09-28 08:41:14


Vladimir Prus <ghost_at_[hidden]> 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

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk