699 , constexpr . 7.1.5, :
constexpr int square(int x);
constexpr struct pixel {
int x;
int y;
constexpr pixel(int);
};
constexpr pixel::pixel(int a)
: x(square(a)), y(square(a)) { }
constexpr pixel small(2);
constexpr int square(int x) {
return x * x;
}
constexpr pixel large(4);
: 1365 , .