-
Notifications
You must be signed in to change notification settings - Fork 556
Closed
Labels
Description
Hi,
Is there a reason that "static sbe_uint16_t sbeTemplateId()" is preferred to "static const sbe_uint16_t sbeTemplateId"?
With sbeTemplateId() being a regular static c98 function, it forbids users to use it as the value of the switch case.
"static constexpr sbe_uint16_t sbeTemplateId()" can be a good option but it seems like the project is sticking with c98.
Thanks in advance.