Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » [SOLVED]destroying self from array
[SOLVED]destroying self from array [message #26492] Thu, 06 May 2010 14:22 Go to previous message
qwerty is currently offline  qwerty
Messages: 130
Registered: May 2006
Experienced Member
Hi all Smile

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

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Void pointer to NTL Array and VectorMap
Next Topic: real size of window
Goto Forum:
  


Current Time: Mon Apr 29 08:41:49 CEST 2024

Total time taken to generate the page: 0.02620 seconds