cpp11/constexpr.cc
Stephen M. McQuay 815175e35e finished product
2012-05-05 13:45:49 -06:00

13 lines
193 B
C++

#include <iostream>
using namespace std;
constexpr int some_constant_func() {
return 41;
}
int my_int_arr[some_constant_func() + 1];
int main(int argc, char * argv []) {
return 0;
}