mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-07-20 15:21:39 +08:00
18 lines
251 B
C++
18 lines
251 B
C++
#pragma once
|
|
|
|
#include <boost/shared_ptr.hpp>
|
|
#include <boost/make_shared.hpp>
|
|
|
|
namespace cpdoccore {
|
|
|
|
template <class T>
|
|
struct shared_ptr
|
|
{
|
|
typedef ::boost::shared_ptr<T> Type;
|
|
};
|
|
|
|
#define _CP_PTR(T) shared_ptr< T >::Type
|
|
|
|
}
|
|
|