incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Sebor <se...@roguewave.com>
Subject Re: svn commit: r671294 - in /stdcxx/branches/4.3.x/include: rw/_meta_arr.h rw/_meta_cat.h rw/_meta_comp.h rw/_meta_cv.h rw/_meta_other.h rw/_meta_prop.h rw/_meta_ptr.h rw/_meta_ref.h rw/_meta_rel.h rw/_meta_sign.h type_traits
Date Tue, 24 Jun 2008 23:22:09 GMT
vitek@apache.org wrote:
> Author: vitek
> Date: Tue Jun 24 11:55:30 2008
> New Revision: 671294
> 
> URL: http://svn.apache.org/viewvc?rev=671294&view=rev
> Log:
> 2008-06-24  Travis Vitek  <vitek@roguewave.com>
> 
> 	STDCXX-916
> 	* include/type_traits: Remove doxygen comments, leaving C++
> 	comments where appropriate.
[...]
> Modified: stdcxx/branches/4.3.x/include/rw/_meta_arr.h
> URL: http://svn.apache.org/viewvc/stdcxx/branches/4.3.x/include/rw/_meta_arr.h?rev=671294&r1=671293&r2=671294&view=diff
> ==============================================================================
> --- stdcxx/branches/4.3.x/include/rw/_meta_arr.h (original)
> +++ stdcxx/branches/4.3.x/include/rw/_meta_arr.h Tue Jun 24 11:55:30 2008
> @@ -34,32 +34,18 @@
>  
>  _RWSTD_NAMESPACE (__rw) {
>  
> -/**
> - * TransformationTrait strips one dimension from an array type, leaving
> - * other types as-is. The primary template is for non-array types.
> - */

Many of these seem like useful comments. Are you sure you meant
to delete them?

>  template <class _TypeT>
>  struct __rw_remove_extent
>  {
>      typedef _TypeT type;
>  };
>  
[...]
> -/**
> - * This template prevents the partial specialization below from
> - * being instantiated on types for which it would fail or give
> - * invalid results. i.e. it avoids creating references to void or
> - * arrays with unknown length and for returning bad results for
> - * references to functions.
> - *
> - * All void, array and reference types are not functions.
> - */

This one especially, for example, but others below as well.

>  template <class _TypeT, bool =    __rw_is_void<_TypeT>::value
>                                 || __rw_is_array<_TypeT>::value
>                                 || __rw_is_lvalue_reference<_TypeT>::value
> @@ -266,13 +219,6 @@
>      enum { _C_value = 0 };
>  };
>  

Martin

Mime
View raw message