Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.std.c++ > #260

Re: Defect Report: Unclear wording about capacity of temporary buffers

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 2011-08-28 08:41 -0700
Organization unknown
Message-ID <4E58F6CA.5080306@f2.dion.ne.jp> (permalink)

Show all headers | View raw


Daniel Kr�gler wrote:
>
> If at all this looks more like an editorial problem to me, no real
> defect in the wording.

What is the difference of "editorial problem" and "real defect" ?

AFAIK, all problem reports about standard are collectively treated
"Defect Report". Thus I believe this problem (unclear wording) is a
defect.
http://www.comeaucomputing.com/csc/faq.html#B13

If I should report "editorial problem" in other way, please explain what
is it and how to report it.

> I also believe that the suggested form "having
> up to n capacity" is bad English.

Sorry but, I'm not a native English speaker and I'm not sure how bad the
wording was.

However, here is another try. I hope the editors in standard committee
will give better wording if it is still bad. Complete ignorance of my
wording is also OK for me if the original intent was clarified in the
standard.

Proposed resolution:

Change 20.6.11 [temporary.buffer] paragraph 1 and 2 to

Effects: Obtains a pointer to storage whose capacity (number of
adjacent T objects storable in it) is up to n. It is implementation
defined whether over-aligned types are supported (3.11).

Returns: A pair containing the buffer's address and capacity (in the
units of sizeof(T)), or a pair of 0 values if no storage can be
obtained or if n <= 0.

--
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 | NextNext in thread | Find similar


Thread

Re: Defect Report: Unclear wording about capacity of temporary buffers Kazutoshi Satoda <k_satoda@f2.dion.ne.jp> - 2011-08-28 08:41 -0700
  Re: Defect Report: Unclear wording about capacity of temporary buffers Daniel Krügler<daniel.kruegler@googlemail.com> - 2011-08-28 11:07 -0700
  Re: Defect Report: Unclear wording about capacity of temporary buffers Kazutoshi Satoda<k_satoda@f2.dion.ne.jp> - 2011-09-11 09:12 -0700
    Re: Defect Report: Unclear wording about capacity of temporary buffers Daniel Krügler <daniel.kruegler@googlemail.com> - 2011-09-11 17:47 -0700

csiph-web