...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::dim
// In header: <boost/compute/utility/dim.hpp> template<class... Args> extents< sizeof...(Args)> dim(Args... args);
The variadic dim()
function provides a concise syntax for creating extents
objects.
For example,
extents<2> region = dim(640, 480); // region == (640, 480)
See Also: