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@sina.com> 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@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users