You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So that it could be used in const context and precomputed at compile time e.g.:
constACR122_CTL_CODE:DWORD = ctl_code(3500);
It should be a straightforward change and I'm willing to make a PR if needed.
Marking an existing function const shouldn't introduce any breakage as far as I can tell. In my opinion, the chance of this getting "un-constified" is very unlikely. What do you think?
The text was updated successfully, but these errors were encountered:
So that it could be used in const context and precomputed at compile time e.g.:
It should be a straightforward change and I'm willing to make a PR if needed.
Marking an existing function
const
shouldn't introduce any breakage as far as I can tell. In my opinion, the chance of this getting "un-constified" is very unlikely. What do you think?The text was updated successfully, but these errors were encountered: