*/\r
char* release() { char* temp=m_buf; m_buf=NULL; return temp; }\r
\r
- private:\r
- auto_ptr_char(const auto_ptr_char&);\r
- auto_ptr_char& operator=(const auto_ptr_char&);\r
- \r
+ private: \r
char* m_buf;\r
+ MAKE_NONCOPYABLE(auto_ptr_char);\r
};\r
\r
/**\r
XMLCh* release() { XMLCh* temp=m_buf; m_buf=NULL; return temp; }\r
\r
private:\r
- auto_ptr_XMLCh(const auto_ptr_XMLCh&);\r
- auto_ptr_XMLCh& operator=(const auto_ptr_XMLCh&);\r
-\r
XMLCh* m_buf;\r
+ MAKE_NONCOPYABLE(auto_ptr_XMLCh);\r
};\r
\r
};\r