$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-09-28 08:05:46
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? Could you tell why it's usefull -- it's
very interesting since I never needed that myself. Wouldn't some more
direct cast be more appropriate in that case?
- Volodya