Menu

#12 Properties cannot have keyword-like names

open
5
2012-07-14
2012-07-14
No

Naming a property like a keyword gererate a syntax error during parsing. An example class is shown below.

class my_class
{
int property value : get_value;
};

This probably happens with other fields then properies as well.

Discussion


Log in to post a comment.

Monday.com Logo