Create types.rst

Note that the following is not a pair of dynamic arrays but a dynamic array of pairs (i.e. of fixed size arrays of length two).
This commit is contained in:
James Ray 2017-06-12 17:36:51 +10:00 committed by GitHub
parent fe3b46554a
commit 2dd23cec7a

View File

@ -655,7 +655,7 @@ Members
contract ArrayContract { contract ArrayContract {
uint[2**20] m_aLotOfIntegers; uint[2**20] m_aLotOfIntegers;
// Note that the following is not a pair of arrays but an array of pairs. // Note that the following is not a pair of dynamic arrays but a dynamic array of pairs (i.e. of fixed size arrays of length two).
bool[2][] m_pairsOfFlags; bool[2][] m_pairsOfFlags;
// newPairs is stored in memory - the default for function arguments // newPairs is stored in memory - the default for function arguments