mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-11 14:00:32 +08:00
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@54463 954022d7-b5bf-4e40-9824-e11837661b57
22 lines
369 B
C++
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
|