You can see the responses to your previous
posting in the archive at http://marc.theaimsgroup.com/?t=111900012300005&r=1&w=2.
You might want to make sure you're subscribed to the list by visiting http://xml.apache.org/mail.html#xerces-c-user and
clicking the subscribe link.
From: Milan Tomic [mailto:[EMAIL PROTECTED]
Sent: Friday, June 17, 2005 5:08 AM
To: [email protected]
Subject: Janitor
Is there any doc explaining how Janitor works?
I'm using it like this:
MyClass * myVar = NULL;
Janitor<MyClass> j_myVar(myVar);
j_myVar.release();try
{
myVar = new MyClass();
j_myVar. <-- How to tell Janitor that var is now allocated and that it should release it?
}
catch (...)
{
//
}P.S. I have already posted this question to the [email protected] group, but it seems I am not registered there and I can't see it.
