mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 14:21:16 +00:00
Fix Struct::iterator test to be order agnostic
This commit is contained in:
parent
715c9f407e
commit
b51549ab58
2 changed files with 17 additions and 12 deletions
|
@ -120,6 +120,8 @@ public:
|
|||
/// references become invalid when the iterator or the Struct is changed, so make sure to make
|
||||
/// copies if you want to retain the name or value.
|
||||
///
|
||||
/// Note that the order in which the iterator exposes the fields is not defined.
|
||||
///
|
||||
/// If you're using C++ 17, you can use the convenience destructuring syntax to extract the name
|
||||
/// and value in one go:
|
||||
///
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue