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 an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct template get

boost::compute::get

Synopsis

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

template<size_t N> 
struct get {

  // public member functions
  template<typename Arg> unspecified operator()(const Arg &) const;
};

Description

Returns the N'th element of an aggregate type (e.g. scalarN, pair, tuple, etc.).

See Also:

field<T>

get public member functions

  1. template<typename Arg> unspecified operator()(const Arg & arg) const;

PrevUpHomeNext