Yet another overloading operators thread, your help is severely needed

This is a discussion on Yet another overloading operators thread, your help is severely needed within the C++ Programming forums, part of the General Programming Boards category; In the above operator, whether or not the parameter were references and const or not, it is unable to do ...

  1. #16
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,461
    In the above operator, whether or not the parameter were references and const or not, it is unable to do anything unless it's a friend.
    That is true. It is a friend. What is your point?
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  2. #17
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,457
    No matter.

Page 2 of 2 FirstFirst 12
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Text RPG - Overloading Operators
    By legit in forum Game Programming
    Replies: 9
    Last Post: 11-25-2008, 12:47 PM
  2. overloading operators
    By thracian in forum C++ Programming
    Replies: 12
    Last Post: 06-23-2008, 07:23 PM
  3. overloading operators for vector addition
    By cunnus88 in forum C++ Programming
    Replies: 10
    Last Post: 10-13-2006, 02:59 AM
  4. overloading postfix/prefix operators for a class
    By jpipitone in forum C++ Programming
    Replies: 6
    Last Post: 06-19-2003, 09:06 PM
  5. How to make a thread sleep or std::recv timeout?
    By BrianK in forum Linux Programming
    Replies: 3
    Last Post: 02-26-2003, 09:27 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21