You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by vi...@apache.org on 2008/06/19 21:52:54 UTC

svn commit: r669664 - /stdcxx/branches/4.3.x/include/rw/_meta_other.h

Author: vitek
Date: Thu Jun 19 12:52:54 2008
New Revision: 669664

URL: http://svn.apache.org/viewvc?rev=669664&view=rev
Log:
2008-06-19  Travis Vitek  <vi...@roguewave.com>

	STDCXX-926
	* include/rw/_meta_other.h: Make __rw_aligned_union compile
	on gcc-4.3 again by forward declaring template and using
	using correct template parameter name.


Modified:
    stdcxx/branches/4.3.x/include/rw/_meta_other.h

Modified: stdcxx/branches/4.3.x/include/rw/_meta_other.h
URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/include/rw/_meta_other.h?rev=669664&r1=669663&r2=669664&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/include/rw/_meta_other.h (original)
+++ stdcxx/branches/4.3.x/include/rw/_meta_other.h Thu Jun 19 12:52:54 2008
@@ -49,13 +49,16 @@
 
 #ifndef _RWSTD_NO_VARIADIC_TEMPLATES
 
+template <_RWSTD_SIZE_T _Len, class... _Types>
+struct __rw_aligned_union_impl;
+
 template <_RWSTD_SIZE_T _Len, class _TypeT, class... _Types>
 struct __rw_aligned_union_impl<_Len, _TypeT, _Types...>
 {
     typedef union {
         unsigned char __pad [_Len ? _Len : 1];
         _TypeT __type1;
-        typename __rw_aligned_union_impl<_Len, Types...>::_C_type __align;
+        typename __rw_aligned_union_impl<_Len, _Types...>::_C_type __align;
     } _C_type;
 };