Chris@16: /*-----------------------------------------------------------------------------+ Chris@16: Copyright (c) 2010-2010: Joachim Faulhaber Chris@16: +------------------------------------------------------------------------------+ Chris@16: Distributed under the Boost Software License, Version 1.0. Chris@16: (See accompanying file LICENCE.txt or copy at Chris@16: http://www.boost.org/LICENSE_1_0.txt) Chris@16: +-----------------------------------------------------------------------------*/ Chris@16: #ifndef BOOST_ICL_CONCEPT_ELEMENT_SET_VALUE_HPP_JOFA_100924 Chris@16: #define BOOST_ICL_CONCEPT_ELEMENT_SET_VALUE_HPP_JOFA_100924 Chris@16: Chris@16: #include Chris@16: Chris@16: namespace boost{ namespace icl Chris@16: { Chris@16: Chris@16: //============================================================================== Chris@16: //= AlgoUnifiers Chris@16: //============================================================================== Chris@16: template Chris@16: inline typename enable_if, const typename Type::key_type>::type& Chris@16: co_value(Iterator it_) Chris@16: { Chris@16: return *it_; Chris@16: } Chris@16: Chris@16: Chris@16: }} // namespace boost icl Chris@16: Chris@16: #endif Chris@16: Chris@16: