forked from boostorg/fusion
added pair < operator for case where key (first type) is the same.
[SVN r82709]
This commit is contained in:
@ -105,6 +105,13 @@ namespace boost { namespace fusion
|
|||||||
{
|
{
|
||||||
return l.second != r.second;
|
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)
|
#if defined (BOOST_MSVC)
|
||||||
|
Reference in New Issue
Block a user