Opened 8 years ago
Closed 6 years ago
#26 closed defect (fixed)
Implicit conversion from zero_t do not work.
| Reported by: | pabuhr | Owned by: | |
|---|---|---|---|
| Priority: | major | Component: | cfa-cc |
| Version: | 1.0 | Keywords: | |
| Cc: |
Description (last modified by )
struct foo;
void ?{}( foo *&, zero_t z ) {}
int fred() {
foo * h;
if (h) {}
}
should convert to:
if (h != ?{}(temp, 0), temp ) { ... }
Instead converts to:
if ( ((int )(__h__P4sfoo_2!=((struct foo *)0))) ) {}
Change History (2)
comment:1 by , 6 years ago
| Description: | modified (diff) |
|---|
comment:2 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.