operator-> |
Defined in
<copy_on_write.hpp> |
Obtain a const
pointer to the underlying object
Singular variant
Returns
A const pointer to the underlying element
This is provided because you cannot override operator.()
. It allows copy_on_write
to be used with common transformation techniques, such as boost’s indirect_iterator
and transform_iterator
.
It does not imply “pointer” semantics.