This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: basic_string<>::max_size
- To: Benjamin Kosnik <bkoz@cygnus.com>
- Subject: Re: basic_string<>::max_size
- From: Ryszard Kabatek <rysio@rumcajs.chemie.uni-halle.de>
- Date: Tue, 25 May 1999 11:03:56 +0200 (CEST)
- cc: libstdc++@sourceware.cygnus.com
- Reply-To: Ryszard Kabatek <kabatek@chemie.uni-halle.de>
There is a little problem with it.
The value _Rep::_S_max_size is defined inside of _Rep.
If I try to use sizeof(_Rep) inside it I get a compiler error
because of incomplete type...
I cannot simply modify basic_string<>::max_size because
_Rep::_S_frob_size uses _S_max_size.
Ryszard Kabatek
Martin-Luther University Halle-Wittenberg, Department of Physical Chemistry
Geusaer Str. 88, 06217 Merseburg, Germany
Tel. +49 3461 46 2487 (2466) Fax. +49 3461 46 2129