Zorba the Hutt (zorbathut) wrote,
Zorba the Hutt

  • Mood:
LunaticFringe> dmwright: tell me how i can make a class that behaves just like int in every way, without overloading every operator.
LunaticFringe> i've been asking everyone in the room.
ZorbaTHut> lunatic, in C++?
LunaticFringe> ZorbaTHut: that's right!
ZorbaTHut> overload *almost* every operator! ^^
ZorbaTHut> you don't need operator-> for example.
ZorbaTHut> or operator[]. :)
LunaticFringe> ZorbaTHut: ......i think i hate you ;)
  • Post a new comment


    default userpic

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.