文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > IT/计算机 > 侯捷stl源码剖析注释之28 sgi-stl-hash-map
侵权投诉

侯捷stl源码剖析注释之28 sgi-stl-hash-map

侯捷stl源码剖析注释

<stl_hash_map.h> 完整列表 1

G++ 2.91.57,cygnus\cygwin-b20\include\g++\stl_hash_map.h 完整列表

/*

* Copyright (c) 1996

* Silicon Graphics Computer Systems, Inc.

*

* Permission to use, copy, modify, distribute and sell this software

* and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies and

* that both that copyright notice and this permission notice appear

* in supporting documentation. Silicon Graphics makes no

* representations about the suitability of this software for any

* purpose. It is provided "as is" without express or implied warranty. *

*

* Copyright (c) 1994

* Hewlett-Packard Company

*

* Permission to use, copy, modify, distribute and sell this software

* and its documentation for any purpose is hereby granted without fee, * provided that the above copyright notice appear in all copies and

* that both that copyright notice and this permission notice appear

* in supporting documentation. Hewlett-Packard Company makes no

* representations about the suitability of this software for any

* purpose. It is provided "as is" without express or implied warranty. *

*/

/* NOTE: This is an internal header file, included by other STL headers. * You should not attempt to use it directly.

*/

#ifndef __SGI_STL_INTERNAL_HASH_MAP_H

#define __SGI_STL_INTERNAL_HASH_MAP_H

__STL_BEGIN_NAMESPACE

#if defined(__sgi) && !defined(__GNUC__) && (_MIPS_SIM != _MIPS_SIM_ABI32) #pragma set woff 1174

#endif

#ifndef __STL_LIMITED_DEFAULT_TEMPLATES

// hash<> 是個 function object,定義於 <stl_hash_fun.h> 中

// 例:hash<int>::operator()(int x) const { return x; }

template <class Key, class T, class HashFcn = hash<Key>, class EqualKey = equal_to<Key>,

class Alloc = alloc>

#else

template <class Key, class T, class HashFcn, class EqualKey,

The Annotated STL Sources

第1页

你可能喜欢

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email