-
solidity中变量相互赋值的时候究竟是按照什么规则来确定是产生独立副本还是产生引用的?变量类型(值类型或引用类型)、存储位置(storage或memory)、定义变量的位置(状态变量或局部变量)这些好像都会影响?求解答 |
Beta Was this translation helpful? Give feedback.
Answered by
XdpCs
Nov 27, 2024
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
XdpCs
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
storage
memory
calldata
storage
memory
calldata