Does prototype of friend function has no value?

http://liveworkspace.org/code/3YEs15$2 Prototype is commented.

http://liveworkspace.org/code/3YEs15$3 Prototype is included.

both give the correct output. Why?
Please show your code here because not any browser can read the site you pointed.
Friend declaration introduces an unqualified name into the scope where it appeared.
Last edited on
Topic archived. No new replies allowed.