blob: 76039f6e7da494954e3f76761858ee275a8e894f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/*
*
* 9.17
*
*
*/
int main () {
// The elements contained must support the operator being used. In this case the less than (<) operator.
// The container itself must support the operator being used. (<) in this case.
// The container types must be the same. So for example you cannot use the operator between a list or a vector.
// The element type must be the same. You cannot use the operator between a std::vector<int> and a std::vector<double>
return 0;
}
|