Non-constant constant expressions
Apr. 28th, 2015 01:56 pmhttp://b.atch.se/posts/non-constant-constant-expressions/
Краткое содержание:
//
int main () {
constexpr int a = f ();
constexpr int b = f ();
static_assert (a != b, "fail");
}
Краткое содержание:
//
int main () {
constexpr int a = f ();
constexpr int b = f ();
static_assert (a != b, "fail");
}