Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Friends
Macros
Pages
include
paal
utils
make.hpp
Go to the documentation of this file.
1
8
#ifndef PAAL_MAKE_HPP
9
#define PAAL_MAKE_HPP
10
11
#include "
paal/utils/type_functions.hpp
"
12
13
#include <unordered_set>
14
15
namespace
paal {
16
18
template
<
typename
Range,
typename
Element = range_to_elem_t<Range>>
19
auto
make_unordered_set
(Range
const
& r) {
20
return
std::unordered_set<Element>(std::begin(r), std::end(r));
21
}
22
23
}
24
25
#endif
/* PAAL_MAKE_HPP */
type_functions.hpp
paal::make_unordered_set
auto make_unordered_set(Range const &r)
make for unordered_set
Definition:
make.hpp:19
Generated on Tue Jan 31 2017 00:30:51 by
1.8.5