21 #ifndef Om_Macro_Precompilation_
35 inline Type_::~Moveable() {}
39 throw std::logic_error(
"Pure virtual function called.");
46 template <
typename TheMoveable>
47 inline std::auto_ptr<TheMoveable>
Om::Move(TheMoveable & theMoveable) {
48 return std::auto_ptr<TheMoveable>(
49 static_cast<TheMoveable *
>(
50 theMoveable.Move().release()
std::auto_ptr< TheMoveable > Move(TheMoveable &)