PVS studio rightfully complains that we should define operator= whenever
we explicitly define a copy constructor. However, since our copy
constructor does nothing special it is in fact equivalent to the default
copy constructor, so we can just get get rid of it and let the compiler
generate the correct copying code.
const size_type row,
const size_type index);
- /**
- * Copy constructor.
- */
- Accessor (const Accessor &a);
-
/**
* Row number of the element represented by this object.
*/
}
- inline
- const_iterator::Accessor::
- Accessor (const Accessor &a)
- :
- matrix(a.matrix),
- a_row(a.a_row),
- a_index(a.a_index),
- colnum_cache (a.colnum_cache),
- value_cache (a.value_cache)
- {}
-
inline
const_iterator::Accessor::size_type
In the beginning the Universe was created. This has made a lot of
people very angry and has been widely regarded as a bad move.
Douglas Adams