default (1) | template |
---|---|
custom (2) | template |
default (1) | template |
---|---|
custom (2) | template |
initializer list (3) | template |
default (1) | template |
---|---|
custom (2) | template |
initializer list (3) | template |
operator<
(or comp, if provided) to compare the values.
|
|
bool
. The value returned indicates whether the element passed as first argument is considered less than the second.operator<
.
|
|
max(1,2)==2 max(2,1)==2 max('a','z')==z max(3.14,2.73)==3.14 |