Equivalent to Lua “and/or” in C++?
snippet in lua

Equivalent to Lua “and/or” in C++?

user8420

foo = a ? b : (c ? d : e );