I naturally included
#include <iostream>
using namespace std;
but the following overloading not works
friend ostream& operator<<(ostream& stream, mystruct& x);
just if I included std::
friend std::ostream& operator<<(std::ostream& stream, mystruct& x);
Why it is necessary?