We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r1 = v2, this is illegal, r1 is normal int & , can not bind to cont int
The text was updated successfully, but these errors were encountered:
@iMinder r1 = v2; It is assigned value to v1(which is bind to r1), rather than bind again. You can try it by compiler.
r1 = v2;
v1
Sorry, something went wrong.
Agree @pezy @iMinder You can look at it like this: After defining r1, r1 becomes another name for variable v1, a.k.a aliasing. So:
r1
is equivalent to :
v1 = v2;
Like @pezy said, this statement has nothing to do with binding.
No branches or pull requests
r1 = v2, this is illegal, r1 is normal int & , can not bind to cont int
The text was updated successfully, but these errors were encountered: