cpp/iterator/common iterator/operator*

Returns pointer or reference to the current element, or a proxy holding it.

The behavior is undefined if the underlying std member object does not hold an object of type, i.e.  is equal to.

Let denote the iterator of type  held by, that is.

@1-2@ Returns the result of dereferencing.

@3@ Returns a pointer or underlying iterator to the current element, or a proxy holding it:
 * Equivalent to, if is a pointer type or if the expression  is well-formed
 * Otherwise, equivalent to, if is a reference type,
 * Otherwise, equivalent to, where is an exposition only class.

@@ The expression in the -clause is equivalent to.

Parameters
(none)

Return value
@1-2@ Reference to the current element, or prvalue temporary. Equivalent to. @3@ Pointer or iterator to the current element or proxy holding it as described above.