blob: dd7b31bb559c4aeffadd7fb432d8fee3e9ce47b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#if __cplusplus >= 201103L
# error "invalid standard value"
#endif
int func(int A, int B)
{
// Verify that we have at least c++14
if (A < B) {
return A + B;
} else {
return B * A;
}
}
|