$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alexander Nasonov (alnsn_at_[hidden])
Date: 2008-05-27 08:49:53
Hansi <hansipet <at> web.de> writes:
> It works now for pointers too, but now I have the problem with the char
> type. First I have made a specialization for this type. Is it here also
> possible to make only one specialization or have I to provide both for
> pointer and value?
I wonder what your Validator validates? You seem to be mixing values and
pointers which is not a good idea.
BTW,
http://www.boost.org/doc/libs/1_35_0/libs/conversion/lexical_cast.htm#changes
"The previous version of lexical_cast allowed unsafe and meaningless
conversions to pointers. The current version now throws a bad_lexical_cast for
conversions to pointers: lexical_cast<char *>("Goodbye, World") now throws an
exception instead of causing undefined behavior."
-- Alexander