mirror of
https://github.com/boostorg/fusion.git
synced 2025-07-22 08:42:15 +02:00
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;
|
||||
}
|
||||
|
||||
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)
|
||||
|
Reference in New Issue
Block a user