pionhashmap.hpp

来自「用c++编写http server的源码库,对socket等网络处理的代码可迅速」· HPP 代码 · 共 38 行

HPP
38
字号
// -----------------------------------------------------------------// libpion: a C++ framework for building lightweight HTTP interfaces// -----------------------------------------------------------------// Copyright (C) 2007 Atomic Labs, Inc.  (http://www.atomiclabs.com)//// Distributed under the Boost Software License, Version 1.0.// See accompanying file COPYING or copy at http://www.boost.org/LICENSE_1_0.txt//#ifndef __PION_PIONHASHMAP_HEADER__#define __PION_PIONHASHMAP_HEADER__#include <libpion/PionConfig.hpp>#if defined(PION_HAVE_UNORDERED_MAP)	#include <unordered_map>	#define PION_HASH_MAP std::tr1::unordered_map	#define PION_HASH_MULTIMAP std::tr1::unordered_multimap#elif defined(PION_HAVE_EXT_HASH_MAP)	#if __GNUC__ >= 3		#include <ext/hash_map>		#define PION_HASH_MAP __gnu_cxx::hash_map		#define PION_HASH_MULTIMAP __gnu_cxx::hash_multimap	#else		#include <ext/hash_map>		#define PION_HASH_MAP hash_map		#define PION_HASH_MULTIMAP hash_multimap	#endif#elif defined(PION_HAVE_HASH_MAP)	#include <hash_map>	#define PION_HASH_MAP hash_map	#define PION_HASH_MULTIMAP hash_multimap#endif#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?