stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r643072 - /stdcxx/trunk/tests/containers/23.bitset.cpp
Date Mon, 31 Mar 2008 17:30:21 GMT
Author: faridz
Date: Mon Mar 31 10:30:19 2008
New Revision: 643072

URL: http://svn.apache.org/viewvc?rev=643072&view=rev
Log:
2008-03-31  Farid Zaripov  <farid_zaripov@epam.com>

	STDCXX-803
	* tests/containers/23.bitset.cpp (test_ctors): Declare bmask as unsigned long
	to resolve ambiguity on MSVC.

Modified:
    stdcxx/trunk/tests/containers/23.bitset.cpp

Modified: stdcxx/trunk/tests/containers/23.bitset.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/containers/23.bitset.cpp?rev=643072&r1=643071&r2=643072&view=diff
==============================================================================
--- stdcxx/trunk/tests/containers/23.bitset.cpp (original)
+++ stdcxx/trunk/tests/containers/23.bitset.cpp Mon Mar 31 10:30:19 2008
@@ -384,7 +384,8 @@
 template <std::size_t N>
 void test_ctors (const std::bitset<N>*)
 {
-    const std::size_t bmask = ::bitmax (N);
+    typedef unsigned long ULong;
+    const ULong bmask = ULong (::bitmax (N));
 
     {   // bitset::bitset()
         rw_info (0, 0, __LINE__, "std::bitset<%d>::bitset()", N);



Mime
View raw message