From: tho Date: Mon, 30 Nov 2009 17:39:47 +0000 (+0000) Subject: boost: Fix unordered_set concept checking on karmic X-Git-Url: http://g0dil.de/git?a=commitdiff_plain;h=dd962ddad5dc57f77214eb2d0b8ab28210d1a719;p=senf.git boost: Fix unordered_set concept checking on karmic git-svn-id: https://svn.berlios.de/svnroot/repos/senf/trunk@1536 270642c3-0616-0410-b53a-bc976706d245 --- diff --git a/boost/bimap/unordered_set_of.hpp b/boost/bimap/unordered_set_of.hpp index 2f169e7..a2ccd2c 100644 --- a/boost/bimap/unordered_set_of.hpp +++ b/boost/bimap/unordered_set_of.hpp @@ -139,6 +139,10 @@ struct unordered_set_of : public ::boost::bimaps::detail::set_type_of_tag BOOST_CLASS_REQUIRE ( value_type, boost, AssignableConcept ); +#if BOOST_VERSION >= 103800 + BOOST_CLASS_REQUIRE3( hasher, std::size_t, value_type, + boost, UnaryFunctionConcept ); +#else typedef void (boost::UnaryFunctionConcept ::* funchasherstdsize_tvalue_typeconcept)(); template @@ -146,6 +150,7 @@ struct unordered_set_of : public ::boost::bimaps::detail::set_type_of_tag typedef concept_checking_hasherstdsize_tvalue_typeconcept< BOOST_FPTR boost::UnaryFunctionConcept::constraints> concept_checking_typedef_hasherstdsize_tvalue_typeconcept; +#endif BOOST_CLASS_REQUIRE4( key_equal, bool, value_type, value_type, boost, BinaryFunctionConcept );