Opened 6 years ago

Closed 6 years ago

#100 closed defect (fixed)

Ternary operator lost of const or some other cost

Reported by: Thierry Delisle Owned by: Rob Schluntz <rschlunt@…>
Priority: major Component: cfa-cc
Version: 1.0 Keywords:


struct Thingy {
	char name[30];

struct MoreThingy {
	Thingy * condig;

const char * got(MoreThingy & this) { 
	return this.condig ? this.condig->name : "Nope"; 

Change History (1)

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

Owner: set to Rob Schluntz <rschlunt@…>
Resolution: fixed
Status: newclosed

In 825170d:

Fix commonType for pointers to place qualifiers on base type [fixes #100]

Note: See TracTickets for help on using tickets.