MCPcopy Create free account
hub / github.com/boostorg/compute / operator[]

Method operator[]

include/boost/compute/container/valarray.hpp:213–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211 }
212
213 detail::buffer_value<T> operator[](size_t index)
214 {
215 return *(begin() + static_cast<ptrdiff_t>(index));
216 }
217
218 const detail::buffer_value<T> operator[](size_t index) const
219 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected