Author: sebor
Date: Sun Mar 18 17:03:41 2007
New Revision: 519751
URL: http://svn.apache.org/viewvc?view=rev&rev=519751
Log:
2007-03-18 Martin Sebor <[EMAIL PROTECTED]>
* _basic_ios.h: Used _RWSTD_DEFINE_TEMPLATE_FIRST and _LAST instead of
just _RWSTD_DEFINE_TEMPLATE, and corrected the spelling of _BASIC_IOS.
Modified:
incubator/stdcxx/trunk/include/rw/_basic_ios.h
Modified: incubator/stdcxx/trunk/include/rw/_basic_ios.h
URL:
http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_basic_ios.h?view=diff&rev=519751&r1=519750&r2=519751
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_basic_ios.h (original)
+++ incubator/stdcxx/trunk/include/rw/_basic_ios.h Sun Mar 18 17:03:41 2007
@@ -230,6 +230,8 @@
// the default ctor not to re-initialize the object
basic_ios () { /* no-op as per 27.4.4.1, p2 */ }
+ ~basic_ios () { }
+
// 27.4.4.1, p3
void init (streambuf_type*);
@@ -334,9 +336,9 @@
} // namespace std
-#if _RWSTD_DEFINE_TEMPLATE (BASIC_IOS)
+#if _RWSTD_DEFINE_TEMPLATE_FIRST (_BASIC_IOS)
# include <rw/_basic_ios.cc>
-#endif
+#endif // _RWSTD_DEFINE_TEMPLATE_FIRST (_BASIC_IOS)
_RWSTD_NAMESPACE (std) {
@@ -356,6 +358,11 @@
#endif // _RWSTD_INSTANTIATE (_BASIC_IOS, _WCHAR_T)
} // namespace std
+
+
+#if _RWSTD_DEFINE_TEMPLATE_LAST (_BASIC_IOS)
+# include <rw/_basic_ios.cc>
+#endif // _RWSTD_DEFINE_TEMPLATE_LAST (_BASIC_IOS)
#endif // _RWSTD_RW_BASIC_IOS_H_INCLUDED