Search:

Type: Posts; User: AdamTurner

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,046

    Ive found it. Thanks for the help. One of the...

    Ive found it. Thanks for the help. One of the workarounds is to qualify the friend functions to the std namespace such as

    bool std::operator==(const & lhs, const & rhs)
    ostream&...
  2. Replies
    6
    Views
    1,046

    Ive had someone run this on a linux box and had...

    Ive had someone run this on a linux box and had no problems. Is it possible that there is a compiler problem??
  3. Replies
    6
    Views
    1,046

    Friend function cant access data member

    I am trying to overload the == operator and have it listed as a friend function. However, the compiler (visual studio6) is complaining that the data member I am trying to access is private.


    ...
Results 1 to 3 of 3