2
0
mirror of https://github.com/boostorg/compute.git synced 2026-01-28 07:02:15 +00:00
Files
compute/doc/reference/functional/get.xml
Kyle Lutz 9a64f6b39a Add get<N>() function
This adds a get<N>() function which returns the n'th element
of an aggregate type (e.g. vector type, pair, tuple).

This unifies the functionality of, and replaces, the get_pair()
and vector_component() functions.
2013-05-05 12:46:05 -04:00

24 lines
655 B
XML

<?xml version="1.0" encoding="utf-8"?>
<header name="boost/compute/functional/get.hpp">
<namespace name="boost">
<namespace name="compute">
<!-- boost::compute::get<N> -->
<struct name="get">
<template>
<template-nontype-parameter name="N">
<type>size_t</type>
</template-nontype-parameter>
</template>
<description>
<para>
The <code>get</code> function returns the <code>N</code>'th
element of an aggregate type (e.g. vector type, pair, tuple).
</para>
</description>
</struct>
</namespace>
</namespace>
</header>