MCPcopy Create free account
hub / github.com/boostorg/compute / at

Method at

include/boost/compute/container/array.hpp:191–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189 }
190
191 reference at(size_type index)
192 {
193 if(index >= N){
194 BOOST_THROW_EXCEPTION(std::out_of_range("index out of range"));
195 }
196
197 return operator[](index);
198 }
199
200 const_reference at(size_type index) const
201 {

Callers 4

BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls

no outgoing calls

Tested by 4

BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36
BOOST_AUTO_TEST_CASEFunction · 0.36