Why does std::span overload the function call operator for indexing? – stackoverflow.com

From cppreference: constexpr reference operator[](index_type idx) const; constexpr reference operator()(index_type idx) const; Returns a reference to the idx-th element of the sequence. The ...

from Hot Questions - Stack Exchange OnStackOverflow
via Blogspot

Share this

Artikel Terkait

0 Comment to "Why does std::span overload the function call operator for indexing? – stackoverflow.com"