[ create a new paste ] login | about

Link: http://codepad.org/h7WXNhuW    [ raw code | output | fork ]

C++, pasted on Jan 2:
1
2
3
4
5
6
7
8
9
#include <iostream>
#include <sstream>
#include <string>
using namespace std;

int main()
{
    operator<<( ostringstream(), 'x' );
}


Output:
1
2
3
In function 'int main()':
Line 8: error: no matching function for call to 'operator<<(std::ostringstream, char)'
compilation terminated due to -Wfatal-errors.


Create a new paste based on this one


Comments: