Disabled glibcxx specific concept checks dev
authorDmitriy Morozov <dmitriy@mrzv.org>
Fri, 06 Dec 2013 19:09:12 -0800
branchdev
changeset 280 668bf4bf1bfb
parent 279 a125a3d9c723
child 281 6e883f004ebe
child 287 d3a10e66c6ab
Disabled glibcxx specific concept checks
include/utilities/binaryheap.h
--- a/include/utilities/binaryheap.h	Fri Dec 06 19:02:42 2013 -0800
+++ b/include/utilities/binaryheap.h	Fri Dec 06 19:09:12 2013 -0800
@@ -44,10 +44,10 @@
 	  _DistanceType;
 
       // concept requirements
-      __glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept<
-	    _RandomAccessIterator>)
-      __glibcxx_requires_valid_range(__first, __last);
-      __glibcxx_requires_heap_pred(__first, __last - 1, __comp);
+      //__glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept<
+	  //  _RandomAccessIterator>)
+      //__glibcxx_requires_valid_range(__first, __last);
+      //__glibcxx_requires_heap_pred(__first, __last - 1, __comp);
 
       std::__push_heap(__first, _DistanceType((__last - __first) - 1),
 		       _DistanceType(0), _ValueType(*(__last - 1)), __comp, __updatepos);
@@ -98,10 +98,10 @@
 			 _RandomAccessIterator __last, _Compare __comp, _Updatepos __updatepos)
     {
       // concept requirements
-      __glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept<
-	    _RandomAccessIterator>)
-      __glibcxx_requires_valid_range(__first, __last);
-      __glibcxx_requires_heap_pred(__first, __last, __comp);
+      //__glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept<
+	  //  _RandomAccessIterator>)
+      //__glibcxx_requires_valid_range(__first, __last);
+      //__glibcxx_requires_heap_pred(__first, __last, __comp);
 
       typedef typename iterator_traits<_RandomAccessIterator>::value_type
 	_ValueType;
@@ -120,9 +120,9 @@
 	  _DistanceType;
 
 	// concept requirements
-	__glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept<
-								_RandomAccessIterator>)
-      __glibcxx_requires_valid_range(__first, __last);
+	//__glibcxx_function_requires(_Mutable_RandomAccessIteratorConcept<
+	//                            _RandomAccessIterator>)
+    //  __glibcxx_requires_valid_range(__first, __last);
 
 	if (__last - __first < 2)
 	  {