Index mapping: Difference between revisions

Content deleted Content added
PrimeBOT (talk | contribs)
m top: Task 24 - replace template usage following a TFD
Avoid branching: Off by one error
Tags: Mobile edit Mobile web edit
Line 38:
inline bool Has30Days(int m) {
static const bool T[] = { 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0 };
return T[m-1];
}
</source>