| Submitter | Markus Trippelsdorf |
|---|---|
| Date | Dec. 4, 2011, 9:37 a.m. |
| Message ID | <20111204093720.GA17045@x4.trippels.de> |
| Download | mbox | patch |
| Permalink | /patch/129130/ |
| State | New |
| Headers | show |
Comments
Patch
diff --git a/libstdc++-v3/include/bits/stl_heap.h b/libstdc++-v3/include/bits/stl_heap.h index ed7750c..af62525 100644 --- a/libstdc++-v3/include/bits/stl_heap.h +++ b/libstdc++-v3/include/bits/stl_heap.h @@ -360,6 +360,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION // concept requirements __glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept< _RandomAccessIterator>) + __glibcxx_requires_non_empty_range(__first, __last); __glibcxx_requires_valid_range(__first, __last); __glibcxx_requires_heap_pred(__first, __last, __comp);