Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 09fbc2c975.
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