BlockedRangeValue¶
[req.blocked_range_value]
A type Value satisfies the BlockedRangeValue if it meets the following requirements:
BlockedRangeValue Requirements: Pseudo-Signature, Semantics
-
Value::~Value()¶ Destructor.
-
void
operator=(const Value&)¶ Note
The return type
voidin the pseudo-signature denotes thatoperator=is not required to return a value. The actualoperator=can return a value, which will be ignored byblocked_range.Assignment.
-
bool
operator<(const Value &i, const Value &j)¶ Value i precedes value j.
-
D
operator-(const Value &i, const Value &j)¶ Number of values in range
[i,j).
-
Value
operator+(const Value &i, D k)¶ k-th value after i.
D is the type of the expression j-i. It can be any integral type that is convertible to size_t.
Examples that model the Value requirements are integral types, pointers, and STL random-access iterators
whose difference can be implicitly converted to a size_t.