Adobe Source Libraries 2.0.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
closed_hash_fwd.hpp
Go to the documentation of this file.
1/*
2 Copyright 2013 Adobe
3 Distributed under the Boost Software License, Version 1.0.
4 (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5*/
6/**************************************************************************************************/
7
8#ifndef ADOBE_CLOSED_HASH_FWD_HPP
9#define ADOBE_CLOSED_HASH_FWD_HPP
10
11/**************************************************************************************************/
12
13#include <adobe/config.hpp>
14
15#include <functional>
16#include <utility>
17
18#include <adobe/functional.hpp>
19#include <adobe/memory_fwd.hpp>
20#include <adobe/utility.hpp>
21
22/**************************************************************************************************/
23
24namespace adobe {
25inline namespace version_1 {
26
27/**************************************************************************************************/
28
29template <typename T, typename KeyTransform = identity<const T>, typename Hash = std::hash<T>,
30 typename Pred = std::equal_to<T>, typename A = capture_allocator<T>>
31class closed_hash_set;
32
33template <typename Key, typename T, typename Hash = std::hash<Key>,
34 typename Pred = std::equal_to<Key>, typename A = capture_allocator<std::pair<Key, T>>>
35class closed_hash_map;
36
37/**************************************************************************************************/
38
39} // namespace version_1
40
41} // namespace adobe
42
43/**************************************************************************************************/
44
45#endif
46
47/**************************************************************************************************/
A hash based associative container.
A hash based associative container.