Feroc1ty
2010-10-14 00:38:58
attributes attributes::operator+(item & rhs)
{
attributes temp = this;
}This won't compile, I'm not sure why… most of the crap is left out but attributes and item are both classes (obviously), why can't I set the temporary attributes be set to the "This" argument?
Is there another way of achieving rather than doing the lengthy:
temp.something = this.something;
temp.something2 = this.something2;The class is quite big so it would be very tedious to do so =/.
Thx for taking your time reading this and for any potential input.