$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Ovanes Markarian (om_boost_at_[hidden])
Date: 2007-02-19 10:01:46
Thanks a lot for lexical_cast it is a very useful function. Currenlty I face a problem with it and
I think it would be useful addon ;)
Unfortunately it can not be used (or I was unable to figure out how) to cast hex or octal numbers
from strings to numeric. If it is not possible, are there some concerns which disallow this?
the expression:
lexical_cast<size_t>("0x015e") throws a bad_lexical_cast
With Kind Regards,
Ovanes