Prepare for your Next Interview
|
Welcome to the Geeks Talk forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
This is a discussion on Why friend functions cannot used to overload an assignment operator within the C and C++ forums, part of the Software Development category; Why friend functions cannot be used to overload an assignment operator?...
|
|||||||
|
|||
|
Re: Why friend functions cannot used to overload an assignment operator
Quote:
A friend function is a non-member function of the class to which it has been defined as friend. Therefore it just uses the functionality( or the functions and data ) of the class. so it wont consists the implementation for that class. Thats why it cant be used to overload an assignment operator. Regards, Rijus. --------------------------------- Real Inspirational Journey.........Unanimously & Sincerely. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| overload and overriding | skagalya | VB.NET | 5 | 09-11-2008 06:01 AM |
| What are the scenarios for sending invitation to a friend or adding a friend in our b | priyapatil | Testing Issues | 2 | 05-10-2008 02:09 PM |
| Class copy constructor and assignment operator | Geek_Guest | C and C++ | 1 | 12-21-2007 05:49 AM |
| C++ Friend Functions | Lokesh M | C and C++ | 0 | 10-04-2007 07:27 AM |
| Functions/operator in Informatica to find 'IPxxxx' | JobHelper | Data Warehousing | 0 | 01-11-2007 06:53 AM |