Skip to content

Conversation

@SXongin
Copy link

@SXongin SXongin commented Apr 6, 2018

I think return by reference rather then by value after assignment (operator =) is more reasonable.
return a reference can make the struct BigInteger more similar to the built-in int.

consider the code following:
int one;
BigInterger big_one;
(one = 1) = 2;
(big_one = 1) =2;
after assignment, both big_one and one should be 2.
can do this by return reference after assignment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant