XercesLiaisonXalanDOMStringPool:: create()

in src/xalanc/XercesParserLiaison/XercesLiaisonXalanDOMStringPool.cpp [37:49]


XercesLiaisonXalanDOMStringPool::    create(MemoryManager& theManager)
{
    typedef XercesLiaisonXalanDOMStringPool ThisType;

    XalanAllocationGuard    theGuard(theManager, theManager.allocate(sizeof(ThisType)));

    ThisType* const     theResult =
        new (theGuard.get()) ThisType(theManager);

    theGuard.release();

    return theResult;
}