...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
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>).
See Also: