SyTen

◆ operator()() [2/2]

template<typename T >
T const& syten::Vec< T >::operator() ( long long int  v) const
inline

Access the element at position restrict(v, this->size()), allowing for wrap-arounds and negative indices.

References std::vector< T >::at(), syten::restrict(), std::vector< T >::size(), and SYTEN_ASSERT_DEBUG.

+ Here is the call graph for this function: