$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: Alex MDC (alex.mdc_at_[hidden])
Date: 2008-05-19 09:27:31
I'm pretty sure reference members can only be initialised on construction -
so if your class has reference members you can have a copy constructor, but
not an assignment operator.
However, have a look at Boost.Ref which allows you to wrap references in a
copyable object. This might be what you're after.
Alex
On 19/05/2008, Max <LoadCom_at_[hidden]> wrote:
>
> hello all,
>
> One little question: is it possible to make a class assignable
> which has reference type members?
>
> Thanks for your interest and for any hints or help.
>
> B/Rgds
> Max
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://listarchives.boost.org/mailman/listinfo.cgi/boost-users
>