C++ image: add some docs

Note: Don't use cbindgen to generate `operator==` for public types.
Because it doesn't have docs and the documentation show warnings
otherwise
This commit is contained in:
Olivier Goffart 2023-03-20 15:04:14 +01:00 committed by Olivier Goffart
parent ef7fb6422a
commit c82bb1515e
4 changed files with 73 additions and 16 deletions

View file

@ -44,7 +44,7 @@ struct SharedVector
}
}
/// Creates a vector of a given size, with with copies of the value.
/// Creates a vector of a given size, initialized with copies of the \a value.
explicit SharedVector(size_t size, const T &value)
: SharedVector(SharedVector::with_capacity(size))
{