Opened 12 years ago
Closed 12 years ago
#4271 closed Bugs (fixed)
split_iterator copy ctor does not copy eof flag
| Reported by: | Owned by: | Pavol Droba | |
|---|---|---|---|
| Milestone: | Boost 1.43.0 | Component: | string_algo |
| Version: | Boost 1.43.0 | Severity: | Problem |
| Keywords: | split_iterator | Cc: |
Description
The copy constructor does not copy the m_bEof flag; it always sets it to false. This means that equality tests fail incorrectly, possibly resulting in endless loops, etc.
Attachments (1)
Change History (2)
by , 12 years ago
| Attachment: | boost_split_iterator_bug.cpp added |
|---|
comment:1 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Test program to demonstrate copy ctor eof-flag bug