How do I bind an array_view to a native array that is const in the scope. See the following example:
void ThisWorks( VECTORTYPE* const_array )
{
concurrency::array_view<
VECTORTYPE, 2> amp_output_color (width, height, const_array );
}
void ThisDoesnt( const VECTORTYPE* const_array )
{
concurrency::array_view<VECTORTYPE, 2> amp_output_color (width, height, const_array );
}
Is there a way to make this work?