Operator Overloading <<
- From: "matt.hulse@xxxxxxxxx" <matt.hulse@xxxxxxxxx>
- Date: 29 Sep 2005 16:09:29 -0700
Is there a way to overload '<<' in the Array class?
Or perhaps there's a better approach to my problem. I have a class
that inherits from Array. I want the user to be able to use my class
just like a standard array. However, I want to be able to force some
code to run every time a user of my class appends a new item. I was
able to overload the '+' operator to do this but it doesn't fit with
standard array usage.
Thanks in advance!
Matt
matt.hulse@xxxxxxxxx
.
- Follow-Ups:
- Re: Operator Overloading <<
- From: Austin Ziegler
- Re: Operator Overloading <<
- Prev by Date: Re: [Ann] rush 0.1.bandicoot: object-oriented shell goodness (rationed for your health)!
- Next by Date: Re: Operator Overloading <<
- Previous by thread: QT 4 Binding
- Next by thread: Re: Operator Overloading <<
- Index(es):
Relevant Pages
|