Vcsn
2.4
Be Rational
Main Page
Namespaces
Classes
Files
File List
File Members
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
{
9
11
template
<
typename
Map,
typename
Key>
12
auto
13
has
(
const
Map& s,
const
Key& e)
14
-> decltype(s.find(e) != std::end(s))
15
{
16
return
s.find(e) != std::end(s);
17
}
18
19
}
functional.hh
vcsn
Definition:
a-star.hh:8
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:25
vcsn
misc
bimap.hh
Generated by
1.8.10