stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vi...@apache.org
Subject svn commit: r670008 - /stdcxx/branches/4.3.x/include/rw/_meta_other.h
Date Fri, 20 Jun 2008 17:48:58 GMT
Author: vitek
Date: Fri Jun 20 10:48:58 2008
New Revision: 670008

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

	STDCXX-926
	* include/rw/_meta_other.h: Replace size_t with macro
	_RWSTD_SIZE_T.

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=670008&r1=670007&r2=670008&view=diff
==============================================================================
--- stdcxx/branches/4.3.x/include/rw/_meta_other.h (original)
+++ stdcxx/branches/4.3.x/include/rw/_meta_other.h Fri Jun 20 10:48:58 2008
@@ -68,7 +68,7 @@
  * Helper for __rw_aligned_storage. Specializations define a member type
  * that is aligned on power of two boundaries.
  */
-template <size_t _Align>
+template <_RWSTD_SIZE_T _Align>
 struct __rw_aligned_storage_impl;
 
 #define _RWSTD_ALIGNED_STORAGE_SPEC(N)              \
@@ -100,7 +100,7 @@
  * @tparam _N    The power of two value being tested.
  * @tparam _Done Termination condition for recursion. Do not use.
  */
-template <size_t _Size, size_t _N,
+template <_RWSTD_SIZE_T _Size, _RWSTD_SIZE_T _N,
           bool _Done =    (_RWSTD_TT_MAX_ALIGNMENT <= _N * 2)
                        || (_Size < _N * 2)>
 struct __rw_default_alignment_impl
@@ -117,7 +117,7 @@
  * @tparam _Size The size of the object to align.
  * @tparam _N    The power of two value being tested.
  */
-template <size_t _Size, size_t _N>
+template <_RWSTD_SIZE_T _Size, _RWSTD_SIZE_T _N>
 struct __rw_default_alignment_impl<_Size, _N, true>
 {
     enum { value = _N };
@@ -131,7 +131,7 @@
  *
  * @tparam _Size Size of the object to calculate the alignment for.
  */
-template <size_t _Size>
+template <_RWSTD_SIZE_T _Size>
 struct __rw_default_alignment
 {
     enum { value = __rw_default_alignment_impl<_Size, 1>::value };
@@ -141,7 +141,8 @@
 /**
  *
  */
-template <size_t _Size, size_t _Align = __rw_default_alignment<_Size>::value>
+template <_RWSTD_SIZE_T _Size,
+          _RWSTD_SIZE_T _Align = __rw_default_alignment<_Size>::value>
 struct __rw_aligned_storage
 {
     _RWSTD_STATIC_ASSERT (_Size != 0,



Mime
View raw message