S
subramanian100in
In the ISO/IEC 14882:2003 document, in section '24.1.1 Input
Iterators' in page 516, item 2 mentions the following:
"In table 72, the term 'the domain of ==' is used in the ordinary
mathematical sense to denote the set of values over which == is
(required to be) defined."
In this sentence, what is meant by domain ? What is meant by 'set of
values over which == is defined' ? Kindly explain with code sample.
Now the next sentence in this item 2 in this page says:
"This set can change over time."
I am unable to understand what is meant by 'set changing over time'.
Kindly explain with code sample.
The third sentence in this item 2 says:
"Each algorithm places additional requirements on the domain of == for
the iterator values it uses. These requirements can be inferred from
the uses that algorithm makes of == and !="
(This sentence is followed by 'find' algorithm example. I am unable to
understand it.) Kindly give explanation and a code sample using the
algorithm which places additional requirements
on the domain of == for the iterator values.
Kindly explain.
Thanks
V.Subramanian
Iterators' in page 516, item 2 mentions the following:
"In table 72, the term 'the domain of ==' is used in the ordinary
mathematical sense to denote the set of values over which == is
(required to be) defined."
In this sentence, what is meant by domain ? What is meant by 'set of
values over which == is defined' ? Kindly explain with code sample.
Now the next sentence in this item 2 in this page says:
"This set can change over time."
I am unable to understand what is meant by 'set changing over time'.
Kindly explain with code sample.
The third sentence in this item 2 says:
"Each algorithm places additional requirements on the domain of == for
the iterator values it uses. These requirements can be inferred from
the uses that algorithm makes of == and !="
(This sentence is followed by 'find' algorithm example. I am unable to
understand it.) Kindly give explanation and a code sample using the
algorithm which places additional requirements
on the domain of == for the iterator values.
Kindly explain.
Thanks
V.Subramanian