Author: faridz
Date: Wed Jun 25 06:05:22 2008
New Revision: 671542
URL: http://svn.apache.org/viewvc?rev=671542&view=rev
Log:
2008-06-25 Farid Zaripov <[EMAIL PROTECTED]>
STDCXX-152
* include/rw/_tree.h (_rb_tree): Rewrite typedefs to allow instantiate
map and set containers on incomplete type.
Modified:
stdcxx/branches/4.2.x/include/rw/_tree.h
Modified: stdcxx/branches/4.2.x/include/rw/_tree.h
URL:
http://svn.apache.org/viewvc/stdcxx/branches/4.2.x/include/rw/_tree.h?rev=671542&r1=671541&r2=671542&view=diff
==============================================================================
--- stdcxx/branches/4.2.x/include/rw/_tree.h (original)
+++ stdcxx/branches/4.2.x/include/rw/_tree.h Wed Jun 25 06:05:22 2008
@@ -261,9 +261,9 @@
typedef __rw_rb_tree_node<_Alloc,_Val,_Key,_KeyOf> _C_node_t;
typedef _RWSTD_ALLOC_TYPE (_Alloc,_Val) _C_val_alloc_t;
- typedef _TYPENAME _C_node_t::_C_key_alloc_t _C_key_alloc_t;
- typedef _TYPENAME _C_node_t::_C_node_alloc_t _C_node_alloc_t;
- typedef _TYPENAME _C_node_t::_C_link_t _C_link_t;
+ typedef _RWSTD_REBIND (_Alloc, _Key) _C_key_alloc_t;
+ typedef _RWSTD_REBIND (_Alloc, _C_node_t) _C_node_alloc_t;
+ typedef _TYPENAME _C_node_alloc_t::pointer _C_link_t;
public: