PrevUpHomeNext

Struct template as

boost::compute::as

Synopsis

// In header: <boost/compute/functional/as.hpp>

template<typename T> 
struct as {
  // types
  typedef T result_type;
};

Description

The as function converts its argument to type T (similar to reinterpret_cast<T>).

See Also:

convert<T>


PrevUpHomeNext