Add a test for embedded conditionals

Also fix the initialization of properties in C++, make them zero-initialized like in rust
This commit is contained in:
Olivier Goffart 2020-06-16 17:47:10 +02:00
parent d7fe69ff74
commit e8c825b434
3 changed files with 28 additions and 13 deletions

View file

@ -43,6 +43,6 @@ struct Property
private:
internal::PropertyHandleOpaque inner;
mutable T value;
mutable T value{};
};
}