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

function.hpp « std - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ca461298d5a3fe206459c226612d3664af4e973f (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

  #include <functional>
  using std::function;

#else

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

#endif

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif