You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2007/04/10 01:39:33 UTC

svn commit: r526954 - /incubator/stdcxx/trunk/include/rw/_specialized.h

Author: sebor
Date: Mon Apr  9 16:39:33 2007
New Revision: 526954

URL: http://svn.apache.org/viewvc?view=rev&rev=526954
Log:
2007-04-09  Martin Sebor  <se...@roguewave.com>

	STDCXX-390
	* _specialized.h (__rw_construct): Removed const qualification from
	second parameter and let the compiler deduce the cv-qualifier from
	the actual argument.

Modified:
    incubator/stdcxx/trunk/include/rw/_specialized.h

Modified: incubator/stdcxx/trunk/include/rw/_specialized.h
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/include/rw/_specialized.h?view=diff&rev=526954&r1=526953&r2=526954
==============================================================================
--- incubator/stdcxx/trunk/include/rw/_specialized.h (original)
+++ incubator/stdcxx/trunk/include/rw/_specialized.h Mon Apr  9 16:39:33 2007
@@ -81,7 +81,7 @@
 
 template <class _TypeT, class _TypeU>
 inline void
-__rw_construct (_TypeT* __p, const _TypeU& __val)
+__rw_construct (_TypeT* __p, _TypeU& __val)
 {
     ::new (_RWSTD_STATIC_CAST (void*, __p)) _TypeT (__val);
 }
@@ -89,7 +89,7 @@
 
 template <class _TypeT, class _TypeU>
 inline void
-__rw_construct (volatile _TypeT* __p, const _TypeU& __val)
+__rw_construct (volatile _TypeT* __p, _TypeU& __val)
 {
     // remove volatile before invoking operator new
     __rw_construct (_RWSTD_CONST_CAST (_TypeT*, __p), __val);
@@ -99,7 +99,7 @@
 
 template <class _TypeT, class _TypeU>
 inline void
-__rw_construct_impl (_TypeT* __p, const _TypeU& __val)
+__rw_construct_impl (_TypeT* __p, _TypeU& __val)
 {
     ::new (_RWSTD_STATIC_CAST (void*, __p)) _TypeT (__val);
 }
@@ -107,7 +107,7 @@
 
 template <class _TypeT, class _TypeU>
 inline void
-__rw_construct (volatile _TypeT* __p, const _TypeU& __val)
+__rw_construct (volatile _TypeT* __p, _TypeU& __val)
 {
     // remove volatile before invoking operator new
     __rw_construct_impl (_RWSTD_CONST_CAST (_TypeT*, __p), __val);