Просмотр исходного кода

Mark expected failure for indirect_iterator_member_types.

[SVN r24208]
Dave Abrahams 22 лет назад
Родитель
Сommit
faab4647c8
1 измененных файлов с 16 добавлено и 3 удалено
  1. 16 3
      status/explicit-failures-markup.xml

+ 16 - 3
status/explicit-failures-markup.xml

@@ -5,7 +5,7 @@
         - http://apps.gotdotnet.com/xmltools/xsdvalidator/  
 
      When using the gotdotnet tool you need to provide both the explicit-failures-markup.xml 
-     file as the XML document and the explicit-failures.xsd as teh schema document.  Use the
+     file as the XML document and the explicit-failures.xsd as the schema document.  Use the
      browse buttons to select them from your local hard drive.
 
         - http://tools.decisionsoft.com/schemaValidate.html
@@ -592,14 +592,27 @@ for more information.
                 <toolset name="*"/>
                 <note author="D. Abrahams">
                     This failure is caused by a compiler bug.  Templated operators
-                    which combine different iterators built with iterator_facade or
-                    iterator_adaptor be present in an overload set even when those
+                    that combine different iterators built with iterator_facade or
+                    iterator_adaptor may be present in an overload set even when those
                     iterators are not interoperable.  The usual result is that error
                     messages generated by illegal use of these operators will be of
                     lower quality.
                 </note>
             </mark-failure>
         </test>
+        <test name="indirect_iterator_member_types" corner-case="yes">
+            <mark-failure>
+                <toolset name="borland"/>
+                <toolset name="borland-5.6.4"/>
+                <note author="D. Abrahams">
+                    This failure is caused by a compiler bug.  The
+                    compiler tends to drop const-ness and as a result
+                    some indirect_iterators will have pointer and
+                    reference members of <code>T*</code> and <code>T&amp;</code> that should
+                    have been <code>T const*</code> and <code>T const&amp;</code>.
+                </note>
+            </mark-failure>
+        </test>
         <test name="is_convertible_fail" corner-case="yes">
             <mark-failure>
                 <toolset name="borland"/>

粤ICP备19079148号