#include <iostream>
using namespace std;

constexpr int sum(int a, int b) {
	return a + b;
}

int main() {
	static_assert(sum(3,8) == 11, "compile-time evaluation");
	//uncomment line below to get an error even though sum only evaluates to true
	//static_assert((bool)sum(3,rand()%8), "irrelevant message");
	
	std::cout << sum(3,rand()%8) << std::endl;
}