stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Farid Zaripov <Far...@kyiv.vdiweb.com>
Subject [PATCH] /include/vector
Date Wed, 22 Nov 2006 15:32:06 GMT
   If #defined _RWSTD_NO_CLASS_PARTIAL_SPEC macro, class vector<bool> is 
not a template class and typename keyword shouldn't be used within class 
definition. Using of the _VB_TYPENAME macro doesn't help because of 
_RWSTD_REBIND macro uses _TYPENAME macro explicitly.

   The proposed patch is attached.

   ChangeLog:
   * vector (vector<bool, _Allocator >): Removed _VB_TYPENAME macro.
   [_RWSTD_NO_CLASS_PARTIAL_SPEC && !_RWSTD_NO_TYPENAME]: _TYPENAME
   cleared before types definitions and restored after.

Farid.

Mime
View raw message