Path: csiph.com!news.swapon.de!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Keith Thompson Newsgroups: comp.lang.c++ Subject: Re: Why does vector::reserve() not grow exponentially ? Date: Wed, 16 Jun 2021 16:25:07 -0700 Organization: None to speak of Lines: 21 Message-ID: <87bl85xui4.fsf@nosuchdomain.example.com> References: <_poyI.35749$J21.8764@fx40.iad> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: reader02.eternal-september.org; posting-host="680e0c0f843b54cfdcdb3d201ea6a38c"; logging-data="19996"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/Irvd95Y4XLCRxgvpXDYbK" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) Cancel-Lock: sha1:OEcR7SeaBnFBO98ystxZA6wFwQ0= sha1:mpYShpKM6+3KLxqqfGlrNoCxvuk= Xref: csiph.com comp.lang.c++:80477 Sam writes: > Bonita Montero writes: >>>>> Mixing C and C++ code is completely irrelevant. C++ containers can use >>>>> a custom allocator/deallocator in the same program that also includes >>>>> C code, too, ... >> >>>> They don't. >> >>> As usual, you are wrong. It's quite common in some circles. ... >> >> It's quite stupid to do that. > > No, it is quite reasonable to follow the C++ standard. Is it quite reasonable to argue with Bonita? (I only see reponses to Bonita, not Bonita's own posts.) -- Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com Working, but not speaking, for Philips Healthcare void Void(void) { Void(); } /* The recursive call of the void */