stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r503938 - /incubator/stdcxx/trunk/tests/iostream/27.istream.sentry.cpp
Date Tue, 06 Feb 2007 00:41:35 GMT
Author: sebor
Date: Mon Feb  5 16:41:34 2007
New Revision: 503938

URL: http://svn.apache.org/viewvc?view=rev&rev=503938
Log:
2007-02-05  Martin Sebor  <sebor@roguewave.com>

	* 27.istream_sentry.cpp (memfun_info): Renamed from just info.
	(test_ok): Called memfun_info w/o "%{$SENTRY}::" (the string
	is prepended by the callee).

Modified:
    incubator/stdcxx/trunk/tests/iostream/27.istream.sentry.cpp

Modified: incubator/stdcxx/trunk/tests/iostream/27.istream.sentry.cpp
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/tests/iostream/27.istream.sentry.cpp?view=diff&rev=503938&r1=503937&r2=503938
==============================================================================
--- incubator/stdcxx/trunk/tests/iostream/27.istream.sentry.cpp (original)
+++ incubator/stdcxx/trunk/tests/iostream/27.istream.sentry.cpp Mon Feb  5 16:41:34 2007
@@ -116,7 +116,8 @@
 
 ************************************************************************/
 
-void info (int line, const char *cname, const char *tname, const char *fname)
+void
+memfun_info (int line, const char *cname, const char *tname, const char *fname)
 {
     // format the ISTREAM and SENTRY environment variables w/o writing
     // out any output
@@ -237,7 +238,7 @@
     typedef std::basic_istream<charT, Traits>   Istream;
     typedef typename Istream::sentry            Sentry;
 
-    info (__LINE__, cname, tname, "::sentry (%{$ISTREAM}&, bool)");
+    memfun_info (__LINE__, cname, tname, "sentry (%{$ISTREAM}&, bool)");
 
     const charT cbuf[] = { 'a', 'b', 'c', 'd', 'e', ' ', 'f', '\0' };
 
@@ -373,7 +374,7 @@
     typedef std::basic_istream<charT, Traits>   Istream;
     typedef typename Istream::sentry            Sentry;
 
-    info (__LINE__, cname, tname, "%{$SENTRY}::operator bool () const");
+    memfun_info (__LINE__, cname, tname, "operator bool () const");
 
     const charT cbuf[] = { 'a', 'b', 'c', 'd', 'e', ' ', 'f', '\0' };
 



Mime
View raw message