Out of line methods in dynamic_memory.hpp