mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-01 04:18:14 +00:00
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:
parent
ef7fb6422a
commit
c82bb1515e
4 changed files with 73 additions and 16 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue