jupyter-xeus / xeus-cling

Jupyter kernel for the C++ programming language
BSD 3-Clause "New" or "Revised" License
3.08k stars 297 forks source link

After statement "using namespace std;" define friend function in a class lead scope error #387

Open mathchq opened 3 years ago

mathchq commented 3 years ago

input_line_20:5:17: error: no matching function found in local scope friend void c();

image

it works fine when writing codes in two different cells.

image