Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!.POSTED!not-for-mail |
|---|---|
| From | Kazutoshi Satoda <k_satoda@f2.dion.ne.jp> |
| Newsgroups | comp.std.c++ |
| Subject | Re: Defect Report: Unclear wording about capacity of temporary buffers |
| Date | Sun, 28 Aug 2011 08:40:11 -0700 (PDT) |
| Organization | unknown |
| Lines | 24 |
| Sender | std-cpp-request@vandevoorde.com |
| Approved | james.dennett@gmail.com |
| Message-ID | <4E58F9D5.4060302@f2.dion.ne.jp> (permalink) |
| Content-Type | text/plain; charset=UTF-8; format=flowed |
| X-Trace | news.albasani.net L18691S32+r7pc7TaTu/i69ERspOJoxmryXB36QLXInCa27xzBNmles64W2+c8dyyzmEMCL8RPc+EwmF3oLa4w== |
| NNTP-Posting-Date | Sun, 28 Aug 2011 15:40:14 +0000 (UTC) |
| Injection-Info | news.albasani.net; logging-data="JlJp+3Cv0A5rijpBQPw3LI0YQJ2I+nwkkdpJ3DCV3IiBg2X0bycYU337IS/A9zqBmvQjiLJ1dIO2gRxNUIIF4GH91BuQ4PXangjys3eyoLEQXApaZz5AWefGjK7Yrg+o"; mail-complaints-to="abuse@albasani.net" |
| X-Mailer | Perl5 Mail::Internet v2.05 |
| X-Submission-Address | std-cpp-submit@vandevoorde.com |
| Cancel-Lock | sha1:EpB+4PRQyvQj5ySivIJEBnkNddY= |
| X-Original-Date | Sat, 27 Aug 2011 23:06:13 +0900 |
| Xref | x330-a1.tempe.blueboxinc.net comp.std.c++:259 |
Show key headers only | View raw
Martin Bonner wrote: >> >> I read this as prohibiting to return a buffer of which capacity is less >> than n, because such a buffer is not sufficient to store n objects. > > Correct. What other reading is possible? > >> Now I propose the following wordings. > > Sorry, you haven't explained what is wrong with the current wording. My above reading, and your reading, render many existing implementations (which can return a buffer of which capacity is less than n) non-conforming. http://gcc.gnu.org/viewcvs/trunk/libstdc%2B%2B-v3/include/bits/stl_tempbuf.h?revision=169421&view=markup#l67 -- k_satoda [ comp.std.c++ is moderated. To submit articles, try posting with your ] [ newsreader. If that fails, use mailto:std-cpp-submit@vandevoorde.com ] [ --- Please see the FAQ before posting. --- ] [ FAQ: http://www.comeaucomputing.com/csc/faq.html ]
Back to comp.std.c++ | Previous | Next | Find similar
Re: Defect Report: Unclear wording about capacity of temporary buffers Kazutoshi Satoda <k_satoda@f2.dion.ne.jp> - 2011-08-28 08:40 -0700
csiph-web