The transform_view does not constrain the return type of the transformation function. It is invalid to pass a void-returning transformation function to the transform_view, which would cause its iterators’ operator* member to return void.
Proposed change:
Change the constraints on transform_view to the following:
The transform_view does not constrain the return type of the transformation function. It is invalid to pass a void-returning transformation function to the transform_view, which would cause its iterators’ operator* member to return void.
Proposed change: Change the constraints on transform_view to the following: