stlab.adobe.com Adobe Systems Incorporated

closed_hash_fwd.hpp

Go to the documentation of this file.
00001 /*
00002     Copyright 2005-2007 Adobe Systems Incorporated
00003     Distributed under the MIT License (see accompanying file LICENSE_1_0_0.txt
00004     or a copy at http://stlab.adobe.com/licenses.html)
00005 */
00006 
00007 /*************************************************************************************************/
00008 
00009 #ifndef ADOBE_CLOSED_HASH_FWD_HPP
00010 #define ADOBE_CLOSED_HASH_FWD_HPP
00011 
00012 /*************************************************************************************************/
00013 
00014 #include <adobe/config.hpp>
00015 
00016 #include <functional>
00017 
00018 #include <boost/functional/hash.hpp>
00019 
00020 #include <adobe/functional.hpp>
00021 #include <adobe/memory_fwd.hpp>
00022 #include <adobe/utility.hpp>
00023 
00024 /*************************************************************************************************/
00025 
00026 namespace adobe {
00027 namespace version_1 {
00028 
00029 /*************************************************************************************************/
00030 
00031 template<   typename T,
00032             typename KeyTransform = identity<const T>,
00033             typename Hash = boost::hash<T>,
00034             typename Pred = std::equal_to<T>,
00035             typename A = capture_allocator<T> >
00036 class closed_hash_set;
00037 
00038 template<typename Key,
00039          typename T,
00040          typename Hash = boost::hash<Key>,
00041          typename Pred = std::equal_to<Key>,
00042          typename A = capture_allocator<pair<Key, T> > >
00043 class closed_hash_map;
00044 
00045 /*************************************************************************************************/
00046 
00047 } // namespace version_1
00048 
00049 using version_1::closed_hash_set;
00050 using version_1::closed_hash_map;
00051 
00052 #if defined(ADOBE_NO_DOCUMENTATION)
00053 /* REVISIT (mmarcus) : doxygen doesn't seem to understand using
00054 declarartions.  This is a doxygen only hack to keep reference links
00055 from breaking.
00056 */
00058 typedef version_1::closed_hash_set closed_hash_set;
00059 typedef version_1::closed_hash_map closed_hash_map;
00060 #endif
00061 
00062 } // namespace adobe
00063 
00064 /*************************************************************************************************/
00065 
00066 #endif
00067 
00068 /*************************************************************************************************/

Copyright © 2006-2007 Adobe Systems Incorporated.

Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy.

Search powered by Google