mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Mapping-in-mapping can have accessors too
This commit is contained in:
parent
d4ad814bf3
commit
024e3f4064
@ -624,6 +624,9 @@ It is possible to mark mappings ``public`` and have Solidity create an accessor.
|
||||
The ``_KeyType`` will become a required parameter for the accessor and it will
|
||||
return ``_ValueType``.
|
||||
|
||||
The ``_ValueType`` can be a mapping too. The accessor will have one parameter
|
||||
for each ``_KeyType``, recursively.
|
||||
|
||||
::
|
||||
|
||||
pragma solidity ^0.4.0;
|
||||
|
Loading…
Reference in New Issue
Block a user