Opened 6 years ago

Last modified 6 years ago

#20 new defect

zero_t doesn't work well with default arguments

Reported by: Thierry Delisle Owned by:
Priority: minor Component: cfa-cc
Version: 1.0 Keywords: zero_t default param

Description (last modified by Rob Schluntz)

The following code does not compile :

struct foo {
	int i;

void ?{}( foo & this, zero_t zero ) {
	this.i = zero;

extern void bar( foo this = 0 );

int main() {

Change History (1)

comment:1 Changed 6 years ago by Rob Schluntz

Description: modified (diff)
Note: See TracTickets for help on using tickets.