Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#ActualAndreas Jonsson

Posted 28 February 2014 - 10:31 PM

I've fixed the bug in the library in revision 1859.

 

Since it is actually allowed to implement opAssign methods to return objects by value rather than reference, I had to make sure this was properly supported in the compiler. It's not very common to do this however, since you usually want the opAssign to return a reference to the object it is called on so that chained assignment expressions works.


#1Andreas Jonsson

Posted 28 February 2014 - 10:30 PM

I've fixed the bug in the library in revision 1859.

 

Since it is actually allowed to implement opAssign methods to return objects by value rather than reference, I had to make sure this was properly supported in the compiler. 


PARTNERS