3 ms·
It is never obscure when you know it. And sure, it was always meant that way. It's just rarely used this way, which is why it's in this list. Here's what the e
by multun 7y ago
It is never obscure when you know it. And sure, it was always meant that way.
It's just rarely used this way, which is why it's in this list.
Here's what the example yields once preprocessed:
struct operator{
int priority;
const char *value;
};
struct operator operator_negate = {
.priority = 20,
.value = "!",
};
struct operator operator_different = {
.priority = 70,
.value = "!=",
};
struct operator operator_mod = {
.priority = 30,
.value = "%",
};