]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/icl/include/boost/icl/concept/element_set_value.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / icl / include / boost / icl / concept / element_set_value.hpp
CommitLineData
7c673cae
FG
1/*-----------------------------------------------------------------------------+
2Copyright (c) 2010-2010: Joachim Faulhaber
3+------------------------------------------------------------------------------+
4 Distributed under the Boost Software License, Version 1.0.
5 (See accompanying file LICENCE.txt or copy at
6 http://www.boost.org/LICENSE_1_0.txt)
7+-----------------------------------------------------------------------------*/
8#ifndef BOOST_ICL_CONCEPT_ELEMENT_SET_VALUE_HPP_JOFA_100924
9#define BOOST_ICL_CONCEPT_ELEMENT_SET_VALUE_HPP_JOFA_100924
10
11#include <boost/icl/type_traits/is_element_container.hpp>
12
13namespace boost{ namespace icl
14{
15
16//==============================================================================
17//= AlgoUnifiers<Set>
18//==============================================================================
19template<class Type, class Iterator>
20inline typename enable_if<is_element_set<Type>, const typename Type::key_type>::type&
21co_value(Iterator it_)
22{
23 return *it_;
24}
25
26
27}} // namespace boost icl
28
29#endif
30
31