[ 2016-08-02 Chicago LWG ]
Walter provides initial Proposed Resolution. Alisdair objects to perceived complexity of the mathematical phrasing.
Previous resolution [SUPERSEDED]:
Note to editor: As a drive-by editorial adjustment, please replace the current enumerated list format by the numbered bullet items shown below. Change [alg.heap.operations]:
1 A heap is a particular organization of elements in a range between two random access iterators [a, b)
. Its two key properties aresuch that:(1.1) --
There is no element greater than *a in the range and
For all i >= 0,
comp(a[i], a[L]) is false whenever L = 2*i+1 < b-a,
and
comp(a[i], a[R]) is false whenever R = 2*i+2 < b-a.
(1.2) -- *a may be removed by pop_heap(), or a new element added by push_heap(), in O(log(N)) time.