Re: creating methods for objects
From: David Harmon (source_at_netcom.com.invalid)
Date: 06/18/04
- Next message: Rolf Magnus: "Re: why won't this complile??? const troubles..."
- Previous message: Prasanna: "Re: Porting from Windows to Linux"
- In reply to: André: "creating methods for objects"
- Next in thread: Phlip: "Re: creating methods for objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 18 Jun 2004 19:39:33 GMT
On Fri, 18 Jun 2004 16:31:01 -0300 in comp.lang.c++, André
<andre.NOSPAM@syspoint.com.br> wrote,
>is it possible to override methods for one specific object, like you can
>do in Ruby?
No. You might declare a derived class just for that one object.
You might use a pointer to a function, or some similar low-level
hackery.
- Next message: Rolf Magnus: "Re: why won't this complile??? const troubles..."
- Previous message: Prasanna: "Re: Porting from Windows to Linux"
- In reply to: André: "creating methods for objects"
- Next in thread: Phlip: "Re: creating methods for objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|