Opened 7 years ago

Closed 7 years ago

#2 closed defect (fixed)

Variable Trait Requirements Cannot be Solved with Globals

Reported by: ajbeach Owned by:
Priority: minor Component: cfa-cc
Version: 1.0 Keywords:
Cc:

Description

Variable assertions in traits cannot be satisfied by global variables.

int max;

trait current_maximum(otype T) {

T max;

};

Int does not satisfy current_maximum.

Change History (2)

comment:1 Changed 7 years ago by ajbeach

Priority: majorminor

comment:2 Changed 7 years ago by Rob Schluntz

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.