Welcome to mirror list, hosted at ThFree Co, Russian Federation.

shared_ptr.hpp « std - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 1fefc06f5da5d236aa646cab8219c3c8fd2bafa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#pragma once
#include "common_defines.hpp"

#ifdef new
#undef new
#endif

#ifdef CPP11_IS_SUPPORTED

#include <memory>
using std::shared_ptr;
using std::make_shared;

#else

#include <boost/shared_ptr.hpp>
using boost::shared_ptr;

using boost::static_pointer_cast;

#endif

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif