17#ifndef ELEMENT_DELETER_GUARD
18#define ELEMENT_DELETER_GUARD
49template<
class Container>
91 typename Container::iterator end =
_container->end();
92 typename Container::iterator it =
_container->begin();
93 for (; it != end; ++it)
128template<
class Container,
class Element>
130 container.push_back(0);
131 container.back() = pointer.release();
140template<
class Container,
class Element>
144 }
catch (
const bad_alloc&) {
void noThrowPushBack(Container &container, auto_ptr< Element > pointer)
void exceptionSafePushBack(Container &container, auto_ptr< Element > pointer)
ElementDeleter(Container &container)