"David Sachs" schrieb:
What do you mean by: "Can alter the characteristics of the stream"?
Table 98 make huge efforts to explain in which way the data has to
be written into the stream. Actually it's nearly perfect to persist
recover the data independent from user changes of the stream flags.
I just demonstrated that there exists a tiny but important loophole
these specs. If your reasoning is supposed to mean that the user
can arbitrarily modify the stream flags to control the output format
random number engines then we have actually two defects:
1) The explicit specification of stream flags should be removed, this
is similar to the output specification of e.g. std::complex, which
totally relies on user flags (except for the surrounding parentheses).
2) If this is done this way, an explicit specification of the streamed
data is necessary, otherwise the user cannot know, *what* she
actually modifies and it makes no sense to do so.
So either way: A proper specification (as already attempted in the
current proposal) is indeed reasonable and necessary, it only
needs a fix in the specs, AFAIS.
Regrettably this link goes nowhere - can you provide
Greetings from Bremen,
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:firstname.lastname@example.org ]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.yqcomputer.com/