mirror of
https://github.com/ksherlock/profuse.git
synced 2024-06-10 02:29:33 +00:00
15 lines
290 B
C++
15 lines
290 B
C++
#ifndef __COMMON_UNORDERED_MAP_H__
|
|
#define __COMMON_UNORDERED_MAP_H__
|
|
|
|
#if 1
|
|
//c++0x
|
|
#include <unordered_map>
|
|
#define UNORDERED_MAP(...) std::unordered_map(__VA_ARGS__)
|
|
#else
|
|
// tr1
|
|
#include <tr1/unordered_map>
|
|
#define UNORDERED_MAP(...) std::tr1::unordered_map(__VA_ARGS__)
|
|
#endif
|
|
|
|
#endif
|