Skip to main content
GameDev.net gamedev.net
๐Ÿ”’ Locked

Using friend and reference in ,

Started by TEUTON Apr 7, 2006 at 5:39 AM 1 replies 300+ views
Original Post
TEUTON
TEUTON
I have two questions 1. Is it always neccesary to use non-member function for overloading <<,>> operator. 2. Why do wee need to return as reference in <<,>> function?
TEUTON
TEUTON
I just figured out the 2nd part but still looking for answers for 1st part
TEUTON
TEUTON
NeverMin..I got it

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.