boost::compute::as
// In header: <boost/compute/functional/as.hpp> template<typename T> struct as { // types typedef T result_type; };
The as function converts its argument to type T (similar to reinterpret_cast<T>).
T
See Also:
convert<T>