Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#102 closed defect (fixed)

typeof confuses constructor generation

Reported by: pabuhr Owned by: Rob Schluntz
Priority: minor Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

struct S { int i, j; };
void ?{}( S & s, int i, int j );
void ?{}( S & s, zero_t );

int main() {
    typeof((S){10,10}) s = 0;
}

Change History (2)

comment:1 Changed 3 years ago by Rob Schluntz <rschlunt@…>

Resolution: fixed
Status: assignedclosed

In 2b79a70:

Resolve typeof earlier so that constructors are chosen appropriately [fixes #102]

comment:2 Changed 3 years ago by Rob Schluntz <rschlunt@…>

In 2b79a70:

Resolve typeof earlier so that constructors are chosen appropriately [fixes #102]

Note: See TracTickets for help on using tickets.