$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Fernando Cacciola (fernando_cacciola_at_[hidden])
Date: 2004-09-02 08:19:32
"David Abrahams" <dave_at_[hidden]> escribió en el mensaje
news:u3c215tym.fsf_at_boost-consulting.com...
> Stefan Slapeta <stefan_nospam__at_[hidden]> writes:
>
> > see http://tinyurl.com/5639d
> >
> > Has anybody a solution for this? Seems that all CWs have problems with
> > casts in combination with conversion functions.
>
> [SNIPED]
>
> ### mwcc Compiler:
> #    File: ..\libs\utility\value_init_test.cpp
> # --------------------------------------------
> #      76:   static_cast<T&>(x_c) = z ;
> #   Error:                            ^
> #   constness casted away
>
>
> The only solution I can think of is to change the test:
>
>   T& t_ref = x_c;
>   t_ref = z;
>
This one commited.
Thank you!
Fernando Cacciola
SciSoft