Snippet: static constexpr variable (with initialization)

property value
IDE Visual Studio
Language C++
Title static constexpr variable (with initialization)
Shortcut scevx
Description static constexpr variable (with initialization)
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
_identifier Identifier name x yes
_value 0 yes
type Variable type name auto yes

Code

static constexpr auto x = 0;