We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
The index operator, call operator, begin and end methods should be const for a read-only matrix.
All statements in the below snippet are compile errors.
void matrix_const(const cpp11::integers_matrix& mat) { mat[0]; mat[0][0]; mat(0, 0); mat.begin(); mat.end(); }