|
Boost Users : |
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://lists.boost.org/mailman/listinfo.cgi/boost-users
>
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net