We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cecac3 commit b688310Copy full SHA for b688310
1 file changed
include/el/retcode.hpp
@@ -14,6 +14,8 @@ of a function.
14
15
#pragma once
16
17
+#define EL_RETURN_IF_NOT_OK(expression) {el::retcode __retval; if ((__retval = (expression)) != el::retcode::ok) return __retval;}
18
+
19
namespace el
20
{
21
enum class retcode
0 commit comments