Update of /cvsroot/boost/boost/libs/array
In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv32580

Modified Files:
        array0.cpp 
Log Message:
Test for out_of_range rather than range_error. See 21.1.1 paragraph 13.

Index: array0.cpp
===================================================================
RCS file: /cvsroot/boost/boost/libs/array/array0.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- array0.cpp  3 Jun 2006 12:51:13 -0000       1.1
+++ array0.cpp  8 Dec 2006 16:53:49 -0000       1.2
@@ -85,12 +85,12 @@
     //  Confirm at() throws the std lib defined exception
     try {
         BadValue( test_case.at( 0 ) );
-    } catch ( const std::range_error & ) {
+    } catch ( const std::out_of_range & ) {
     }
 
     try {
         BadValue( const_test_case.at( 0 ) );
-    } catch ( const std::range_error & ) {
+    } catch ( const std::out_of_range & ) {
     }
 }
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/boost-cvs

Reply via email to