static-assert/p4-compiler-output - Compilation of p4.cpp. | Lecture 6 - slide 30 : 40 Program 4 |
$ g++ p4.cc -std=c++11 p4.cc:12:1: error: static assertion failed: Expected void or integral static_assert(void_or_integral<float>(), "Expected void or integral"); $