#include "treestring.hpp"
#include <utility>
Go to the source code of this file.
|
bool | triPair (const pair< string, int > &first, const pair< string, int > &second) |
|
bool triPair |
( |
const pair< string, int > & |
first, |
|
|
const pair< string, int > & |
second |
|
) |
| |
Fonction qui permet de trier un container de pairs construit avec des strings et des entiers. Le critère de tri est l'ordre naturel sur les entiers appliqué à l'entier de la pair.
- Parameters
-
[in] | first | la première pair à comparer |
[in] | second | la seconde pair à comparer |
[out] | bool | vrai si first>seconde sinon faux |