MCPcopy Create free account
hub / github.com/Achain-Dev/Achain / operator[]

Method operator[]

include/win/boost/multi_array/subarray.hpp:259–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257 const T* origin() const { return this->base_; }
258
259 reference operator[](index idx) {
260 return super_type::access(boost::type<reference>(),
261 idx,this->base_,this->shape(),this->strides(),
262 this->index_bases());
263 }
264
265 // see generate_array_view in base.hpp
266 template <int NDims>

Callers

nothing calls this directly

Calls 5

accessClass · 0.50
operator[]Function · 0.50
shapeMethod · 0.45
stridesMethod · 0.45
index_basesMethod · 0.45

Tested by

no test coverage detected