Skip to content

[Feature] Use if constexpr to skip the relevant code in the server impl instead of compile flag #37462

Open
@yufengwangca

Description

Feature description

...
What I would strongly suggest is that we make this class a template on a boolean for whether the command is enabled, use if constexpr to skip the relevant code in the impl, and for now default the template var based on this define, but later we can make that part more sane, perhaps.

Platform

all

Platform Version(s)

No response

Anything else?

No response

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions