Wraps a view object with a interface that makes it behave as a pointer to a view of the same type would.This is used for PARAGRAPH edge views passed to add_task
calls via consume
calls, where there is not a view copy held/owned by the PARAGRAPH (i.e., those passed by user at PARAGRAPH creation).
More...
Public Member Functions | |
ptr_wrapper (View vw) | |
View & | operator* () |
Mimics the application operator* on a pointer / iterator. | |
View const & | operator* () const |
View const * | operator-> () const |
Mimics the application operator-> on a pointer / iterator. | |
Public Attributes | |
View | m_vw |
Wraps a view object with a interface that makes it behave as a pointer to a view of the same type would.
This is used for PARAGRAPH edge views passed to add_task
calls via consume
calls, where there is not a view copy held/owned by the PARAGRAPH (i.e., those passed by user at PARAGRAPH creation).
When paragraph_view::add_task pair usage is finally retired, there will be no more need for this wrapper class.