Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This is an older version of Boost and was released in 2013. The current version is 1.89.0.
| {M,I,V} | The matrix, index, and values types that together model the BasicMatrix concept. |
| A | An object of type M. |
| i, j | Objects of type I. |
| A[i][j] | Returns a reference to the element object stored at index (i,j) Return type: V& for mutable A or const V& for constant A. |
template <class M, class I, class V>
struct BasicMatrixConcept
{
void constraints() {
V& elt = A[i][j];
const_constraints(A);
ignore_unused_variable_warning(elt);
}
void const_constraints(const M& A) {
const V& elt = A[i][j];
ignore_unused_variable_warning(elt);
}
M A;
I i, j;
};
| Copyright © 2000-2001 | Jeremy Siek, Indiana University (jsiek@osl.iu.edu) |