Skip to content

sbeTemplateId()? #195

@structurechart

Description

@structurechart

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions