Index: basic_string.h =================================================================== --- basic_string.h (revision 138941) +++ basic_string.h (working copy) @@ -260,7 +260,7 @@ _Alloc_hider(_CharT* __dat, const _Alloc& __a) : _Alloc(__a), _M_p(__dat) { } - _CharT* _M_p; // The actual data. + typename _Alloc::template rebind<_CharT>::other::pointer _M_p; // The actual data. }; public: