Home » Community » Newbie corner » [SOLVED]destroying self from array
[SOLVED]destroying self from array [message #26492] |
Thu, 06 May 2010 14:22  |
qwerty
Messages: 130 Registered: May 2006
|
Experienced Member |
|
|
Hi all
Class T {
public:
Master* the_lord;
T(Master* the_lord) : the_lord(the_lord) {}
void kill_me() {
???;
}
}
Class Master {
public:
Array<T> slaves;
};
Please, how can I delete the actual array item from it's own instance without eg. adding an index etc.?
Thank You
[Updated on: Thu, 06 May 2010 14:45] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Apr 28 23:37:15 CEST 2025
Total time taken to generate the page: 0.00940 seconds
|