I can't realize how could it be possible to print a string this way without any complaint by the compiler:
std::cout << "Hello " "World!";
In fact, the above line works exactly like:
std::cout << "Hello " << "World!";
Is there an explanation for this behaviour?
std::cout << "Hello World!";
The second version above calls the stream inserter twice, while the first calls it once. – Prosector