Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:38:17

0001 /*-----------------------------------------------------------------------------+    
0002 Copyright (c) 2010-2010: Joachim Faulhaber
0003 +------------------------------------------------------------------------------+
0004    Distributed under the Boost Software License, Version 1.0.
0005       (See accompanying file LICENCE.txt or copy at
0006            http://www.boost.org/LICENSE_1_0.txt)
0007 +-----------------------------------------------------------------------------*/
0008 #ifndef BOOST_ICL_CONCEPT_ELEMENT_SET_VALUE_HPP_JOFA_100924
0009 #define BOOST_ICL_CONCEPT_ELEMENT_SET_VALUE_HPP_JOFA_100924
0010 
0011 #include <boost/icl/type_traits/is_element_container.hpp>
0012 
0013 namespace boost{ namespace icl
0014 {
0015 
0016 //==============================================================================
0017 //= AlgoUnifiers<Set>
0018 //==============================================================================
0019 template<class Type, class Iterator>
0020 inline typename enable_if<is_element_set<Type>, const typename Type::key_type>::type&
0021 co_value(Iterator it_)
0022 {
0023     return *it_;
0024 }
0025 
0026 
0027 }} // namespace boost icl
0028 
0029 #endif
0030 
0031