This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Large file iostreams


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]