Mapping-in-mapping can have accessors too

This commit is contained in:
Alex Beregszaszi 2016-10-19 14:16:01 +01:00
parent d4ad814bf3
commit 024e3f4064

View File

@ -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;