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: 9c3f6d9a4c3ab9b35c56c39aa7b111d6a5dc5a52 (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 <functional>
  using std::function;

#else

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

#endif

#ifdef DEBUG_NEW
#define new DEBUG_NEW
#endif