Snippet: static cast

property value
IDE Visual Studio
Language C++
Title static cast
Shortcut sct
Description static cast
Snippet Types Expansion

Placeholders

Identifier Tooltip Default Value Editable Function Type Name
expression Expression expression yes
type Type T yes

Code

static_cast<T>(expression)