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

Method at

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

Source from the content-addressed store, hash-verified

204 }
205
206 reference at(size_type index)
207 {
208 if(index >= N){
209 BOOST_THROW_EXCEPTION(std::out_of_range("index out of range"));
210 }
211
212 return operator[](index);
213 }
214
215 const_reference at(size_type index) const
216 {

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