Indice

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

value

-

valore per confrontare gli elementi

Original:

value to compare the elements to

The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions.

comp

-

comparison function which returns ​true if the first argument is less than the second.

The signature of the comparison function should be equivalent to the following:

bool cmp(const Type1 &a, const Type2 &b);

The signature does not need to have const&, but the function must not modify the objects passed to it.
The type Type1 must be such that an object of type T can be implicitly converted to Type1. The type Type2 must be such that an object of type ForwardIt can be dereferenced and then implicitly converted to Type2.
​