17 #ifndef ELEMENT_DELETER_GUARD
18 #define ELEMENT_DELETER_GUARD
49 template<
class Container>
91 typename Container::iterator end =
_container->end();
92 typename Container::iterator it =
_container->begin();
93 for (; it != end; ++it)
128 template<
class Container,
class Element>
130 container.push_back(0);
131 container.back() = pointer.release();
140 template<
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)