Opened 14 years ago
Closed 13 years ago
#2505 closed Bugs (fixed)
iostreams/test/grep_test.cpp assumes that ptrdiff_t is in the global namespace
| Reported by: | Owned by: | Daniel James | |
|---|---|---|---|
| Milestone: | Boost 1.43.0 | Component: | iostreams |
| Version: | Boost Development Trunk | Severity: | Problem |
| Keywords: | Cc: |
Description
The patch adds std:: in front of ptrdiff_t. An alternative is to declare count as std::string::difference_type. Both solutions work on QNX 6.4.0.
(According to the C++ standard, ptrdiff_t is in the std namespace (and possibly in the global namespace also).)
Attachments (1)
Change History (6)
by , 14 years ago
| Attachment: | grep_test.cpp.patch added |
|---|
comment:1 by , 14 years ago
| Component: | None → iostreams |
|---|---|
| Owner: | set to |
comment:2 by , 13 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
comment:3 by , 13 years ago
| Milestone: | Boost 1.38.0 → Boost 1.43.0 |
|---|
comment:4 by , 13 years ago
comment:5 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
(In [60666]) Merge iostreams.
Note:
See TracTickets
for help on using tickets.

(In [60582]) ptrdiff_t is in std. Refs #2505.