Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. inherited overloaded operators

inherited overloaded operators

Scheduled Pinned Locked Moved Managed C++/CLI
questionc++tutorial
4 Posts 3 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Aaron Sulwer
    wrote on last edited by
    #1

    this is a two part question. Are overloaded operators inherited? can someone give me an example using managed c++ for the plus and minus operators?

    C 1 Reply Last reply
    0
    • A Aaron Sulwer

      this is a two part question. Are overloaded operators inherited? can someone give me an example using managed c++ for the plus and minus operators?

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      1. Yes, I reckon they are 2. I doubt managed extensions make any changes to the standard implimentation found in most C++ textbooks and online. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

      A 1 Reply Last reply
      0
      • C Christian Graus

        1. Yes, I reckon they are 2. I doubt managed extensions make any changes to the standard implimentation found in most C++ textbooks and online. Christian I have several lifelong friends that are New Yorkers but I have always gravitated toward the weirdo's. - Richard Stringer

        A Offline
        A Offline
        Aaron Sulwer
        wrote on last edited by
        #3

        since i can inherit overloaded operators could you give me an example using the plus operator?

        T 1 Reply Last reply
        0
        • A Aaron Sulwer

          since i can inherit overloaded operators could you give me an example using the plus operator?

          T Offline
          T Offline
          TigerNinja_
          wrote on last edited by
          #4

          http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/cpconoperatoroverloadingusageguidelines.asp[^] Should provide some insight :)

          R.Bischoff

          Tengas un buen dia

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups