Source code

Revision control

Copy as Markdown

Other Tools

void foo() {
bool p = 1;
bool f = static_cast<bool>(1);
bool x = p ? 1 : 0;
}