Assertion: union | /r/HasProperty | char c ; int i ; double d ;
Facets:
Source sentences:
text: struct S { enum { CHAR, INT, DOUBLE } tag ; union { char c ; int i ; double d ; } ; } ; void print_s ( const S & s ) { switch ( s. tag ) { case S :: CHAR : std:: cout << s. c << '