standards-proposals
standards-proposals copied to clipboard
Casting multi_ptr pointers
trafficstars
This PR proposes the addition of pointer casting functions to SYCL in order to simplify casting of the multi_ptr class.
It adds the following functions:
static_pointer_castdynamic_pointer_castconst_pointer_castreinterpret_pointer_cast
It also simplifies casting to a const variant of the multi_ptr, provides better handling of const qualifiers in general, and provides better handling of the void specialization.
I've removed the const and void changes which have been merged into SYCL-1.2.1 as errata.