stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From far...@apache.org
Subject svn commit: r647694 - /stdcxx/trunk/tests/numerics/26.c.math.cpp
Date Mon, 14 Apr 2008 08:27:35 GMT
Author: faridz
Date: Mon Apr 14 01:27:25 2008
New Revision: 647694

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

	* tests/numerics/26.c.math.cpp: Replace rw_any to rw_any_t (caused
	compilation error of 26.c.math test on Sun C++ 5.9 / Linux).

Modified:
    stdcxx/trunk/tests/numerics/26.c.math.cpp

Modified: stdcxx/trunk/tests/numerics/26.c.math.cpp
URL: http://svn.apache.org/viewvc/stdcxx/trunk/tests/numerics/26.c.math.cpp?rev=647694&r1=647693&r2=647694&view=diff
==============================================================================
--- stdcxx/trunk/tests/numerics/26.c.math.cpp (original)
+++ stdcxx/trunk/tests/numerics/26.c.math.cpp Mon Apr 14 01:27:25 2008
@@ -53,7 +53,7 @@
 #define FUN_1(name)                                                     \
     template <class T>                                                  \
     T name (T) {                                                        \
-        static const char* const tname = rw_any (T ()).type_name ();    \
+        static const char* const tname = rw_any_t (T ()).type_name ();  \
         rw_assert (0, 0, __LINE__, "std::%s(%s) not declared\n",        \
                    #name, tname);                                       \
         return T ();                                                    \
@@ -62,7 +62,7 @@
 #define FUN_2(name)                                                     \
     template <class T>                                                  \
     T name (T, T) {                                                     \
-        static const char* const tname = rw_any (T ()).type_name ();    \
+        static const char* const tname = rw_any_t (T ()).type_name ();  \
         rw_assert (0, 0, __LINE__, "std::%s (%s, %s) not declared\n",   \
                    #name, tname, tname);                                \
         return T ();                                                    \
@@ -71,7 +71,7 @@
 #define FUN_2_PTR(name)                                                 \
     template <class T>                                                  \
     T name (T, T*) {                                                    \
-        static const char* const tname = rw_any (T ()).type_name ();    \
+        static const char* const tname = rw_any_t (T ()).type_name ();  \
         rw_assert (0, 0, __LINE__, "std::%s (%s, %s*) not declared\n",  \
                    #name, tname, tname);                                \
         return T ();                                                    \
@@ -80,7 +80,7 @@
 #define FUN_2_INT(name)                                                 \
     template <class T>                                                  \
     T name (T, int) {                                                   \
-        static const char* const tname = rw_any (T ()).type_name ();    \
+        static const char* const tname = rw_any_t (T ()).type_name ();  \
         rw_assert (0, 0, __LINE__, "std::%s (%s, int) not declared\n",  \
                    #name, tname);                                       \
         return T ();                                                    \
@@ -89,7 +89,7 @@
 #define FUN_2_PINT(name)                                                \
     template <class T>                                                  \
     T name (T, int*) {                                                  \
-        static const char* const tname = rw_any (T ()).type_name ();    \
+        static const char* const tname = rw_any_t (T ()).type_name ();  \
         rw_assert (0, 0, __LINE__, "std::%s (%s, int*) not declared\n", \
                    #name, tname);                                       \
         return T ();                                                    \



Mime
View raw message