Files
core/ASCOfficeOdfFile/include/cpdoccore/CPSharedPtr.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

22 lines
369 B
C++

#ifndef _CP_SHARED_PTR_H_
#define _CP_SHARED_PTR_H_
#include <boost/shared_ptr.hpp>
#include <boost/make_shared.hpp>
namespace cpdoccore {
/// Âíåøíåå îáúÿâëåíèå äëÿ shared_ptr, èñïîëüçóåì boost::shared_ptr
template <class T>
struct shared_ptr
{
typedef ::boost::shared_ptr<T> Type;
};
#define _CP_PTR(T) shared_ptr< T >::Type
}
#endif