Vcsn
2.8
Be Rational
bimap.hh
Go to the documentation of this file.
1
#pragma once
2
3
#include <boost/bimap.hpp>
4
5
#include <
vcsn/misc/functional.hh
>
6
7
namespace
vcsn
8
{
10
template
<
typename
Map,
typename
Key>
11
auto
12
has
(
const
Map& s,
const
Key& e)
13
-> decltype(s.find(e) != std::end(s))
14
{
15
return
s.find(e) != std::end(s);
16
}
17
}
vcsn::has
ATTRIBUTE_PURE bool has(const boost::container::flat_set< Key, Compare, Allocator > &s, const Key &e)
Whether e is member of s.
Definition:
setalpha.hh:26
vcsn
Definition:
a-star.hh:8
functional.hh
vcsn
misc
bimap.hh
Generated by
1.8.13