Skip to content

关于solidity中变量数据存储的问题 #479

Closed Answered by XdpCs
Sha777wee asked this question in Q&A
Discussion options

You must be logged in to vote
来源 \ 目标 storage memory calldata
storage 引用(共享内存) 拷贝(独立副本) 不允许直接赋值
memory 拷贝(独立副本) 引用(共享内存) 不允许直接赋值
calldata 拷贝(独立副本) 拷贝(独立副本) 引用(共享内存)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by XdpCs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants