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. C / C++ / MFC
  4. Virtual Constructor

Virtual Constructor

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 5 Posters 0 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
    Anandi VC
    wrote on last edited by
    #1

    Why cant we have a Virtual Constructor ? Anandi VC

    R F T J 4 Replies Last reply
    0
    • A Anandi VC

      Why cant we have a Virtual Constructor ? Anandi VC

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      Think what you can/are going to do with that.

      1 Reply Last reply
      0
      • A Anandi VC

        Why cant we have a Virtual Constructor ? Anandi VC

        F Offline
        F Offline
        fefe wyx
        wrote on last edited by
        #3

        Well ... What do you think you can do with a virtual constructor?

        1 Reply Last reply
        0
        • A Anandi VC

          Why cant we have a Virtual Constructor ? Anandi VC

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

          this question has been asked tons of times. look in the FAQ please !

          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          1 Reply Last reply
          0
          • A Anandi VC

            Why cant we have a Virtual Constructor ? Anandi VC

            J Offline
            J Offline
            jhwurmbach
            wrote on last edited by
            #5

            Anandi.VC wrote:

            Why cant we have a Virtual Constructor ?

            What would you expect this constructor to do?

            Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
            Douglas Adams, "Dirk Gently's Holistic Detective Agency"

            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