home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!mcsun!sunic!isgate!krafla!yngvi
- From: yngvi@rhi.hi.is (Yngvi Sigurjonsson)
- Newsgroups: comp.lang.c++
- Subject: Pointer to constructors||class?
- Message-ID: <5591@krafla.rhi.hi.is>
- Date: 10 Nov 92 17:31:34 GMT
- Sender: usenet@rhi.hi.is
- Lines: 26
- Nntp-Posting-Host: hengill.rhi.hi.is
-
-
-
- How can I get a pointer to constructor?? I would like too be able to
- have a pointer to either a class or class constructor. I had intended to
- use constructor pointers in a drawing program in such a way that mouse
- down would do:
-
- ObjPointer= new ConsPointer(x,y)
-
- and then i could use virtual functions described for Object to work with
- derived objects.
-
- I imagine I could define wrapper functions, and pointers too those to
- call to the constructors but I really dont want to.
-
- Thanks in advance for any advice or pointers :).
-
-
-
-
-
- --
- /| Yngvi Thor Sigurjonsson |\ |\ ______________________/|
- | | Fljotasel 17 | || | yngvi@rhi.hi.is | |
- | | Reykjavik Iceland | || |_____________________| |
- \|_________________________________|/ |/_______________________\|
-