added pair < operator for case where key (first type) is the same.

[SVN r82709]
This commit is contained in:
Joel de Guzman
2013-02-04 04:10:29 +00:00
parent 7b6cf39540
commit 9c5d6bcc8c

View File

@ -105,6 +105,13 @@ namespace boost { namespace fusion
{
return l.second != r.second;
}
template <typename First, typename SecondL, typename SecondR>
inline bool
operator<(pair<First, SecondL> const& l, pair<First, SecondR> const& r)
{
return l.second < r.second;
}
}}
#if defined (BOOST_MSVC)