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

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

#ifdef new
#undef new
#endif

#if (__cplusplus > 199711L) || defined(__GXX_EXPERIMENTAL_CXX0X__)

#include <memory>
using std::weak_ptr;

#else

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

#endif

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif