The name ranges::distance denotes a customization point object, which is a function object of a literal Semiregular class type (denoted, for exposition purposes, as DistanceT).
Return value std::pair with iterators to the first two non-equal elements. If last1 is reached, the second iterator in the pair is the std::distance(first1, last1) th iterator after first2. For overloads (5-8), if last2 is reached, the first iterator in the pair is the std::distance(first2, last2) th iterator after first1. Complexity Given N1 as std::distance(first1, last1) and N2 as std ...
5-8) If std::distance(first1,last1) and std::distance(first2,last2) are equal, and each corresponding elements in the two ranges are equal, returns true. Otherwise returns false.
The expression ranges::distance(e) can also be used to determine the size of a range e. Unlike ranges::size(e), ranges::distance(e) works even if e is an unsized range, at the cost of having linear complexity in that case.
Whereas "marked with" is more likely to refer to "soiled with" or "polluted with". "The birthday was wild fun, marked by cheering and playfulness and the host singing a tribute to her mother." "The birthday was disappointing, marked with some fights and the kitchen catching fire." The latter describes the specific markings.
The difference lies in the essence of the definition. When defining a word using 'marked by', it means that the word describes some quality with a certain special characteristic, whereas using 'having' implies that the word principally describes such a special characteristic. Thus in your example of 'a calm demeanor', the word whose definition contains 'marked by' could refer to a certain ...
Good discussion. I would add that "marked by" or "characterized by" can apply to person, place or thing; whereas "given to" applies only to sentient beings—entities who can be said to have preferences or proclivities.