Files
core/ASCOfficeOdfFile/include/cpdoccore/CPScopedPtr.h
Elen.Subbotina 8488025896 для красоты
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@54463 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:41:49 +03:00

19 lines
285 B
C++

#ifndef _CPDOCCORE_SCOPED_PTR_H_
#define _CPDOCCORE_SCOPED_PTR_H_
#include <boost/scoped_ptr.hpp>
namespace cpdoccore {
template <class T>
struct scoped_ptr
{
typedef ::boost::scoped_ptr<T> Type;
};
#define _CP_SCOPED_PTR(T) scoped_ptr< T >::Type
}
#endif