Large file iostreams

Gabriel Dos Reis gdr@integrable-solutions.net
Thu Aug 28 09:03:00 GMT 2003


Martin Sebor <sebor@roguewave.com> writes:

| Pétur Runólfsson wrote:
| 
| > I wrote:
| >
| >>I came up with this list last night (this includes already reported
| >>defects):
| > While trying to come up with a conforming streamoff and fpos<> I
| > found some more:
| > 27.4.3.1 p2: The initial value of state() is not specified.
| 
| That's not necessarily a defect, is it? The default ctor is
| unspecified, so if stateT is a POD, the initial value of a
| default-constructed fpos object is also unspecified. There
| isn't much one can do with such an object, anyway (just
| like there isn't much one can do with any other
| uninitialized POD).

Just to clear any confusion. If T is a POD then T() is specified.

-- Gaby



More information about the Libstdc++ mailing list