1 2 3 4 5 6 7 8 9 | #include <vector> void f(std::vector<double> vect); int m() { f({1, 2, 3}); } |
I2luY2x1ZGUgPHZlY3Rvcj4KCnZvaWQgZihzdGQ6OnZlY3Rvcjxkb3VibGU+IHZlY3QpOwoKaW50IG0oKQp7CiAgZih7MSwgMiwgM30pOwp9Cg==
/usr/lib/gcc/i686-pc-linux-gnu/4.5.1/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' /home/xVLuvB/ccpMW4TC.o: In function `m()': prog.cpp:(.text+0x74): undefined reference to `f(std::vector<double, std::allocator<double> >)' collect2: ld returned 1 exit status
-
result: Compilation error (maybe you wish to see an example for C++11)


