Port Super author/license to C++#110
Conversation
For these types, no constraints checking is performed. Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
|
I also don't know how to port sfi_pspec_time typed properties. And copyright looks like it can be removed (?), has a |
d5925a8 to
e4883a5
Compare
Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
9b1d14e to
b81daf4
Compare
|
As discussed,
|
|
This triggers a problem in your From what I could debug, this is a problem of your code accessing the internal GScanner buffer ( |
Thanks a lot for an accurate analysis and suggesting a proper fix, great input! |
This is the first string property port that uses the
APPLY_IDL_PROPERTYmacro. Since there is no version ofconstrain_idl_propertyfor strings, your code didn't compile when instantiated with strings. So I used C++17if constexprfor checking for the type which compiles now. This means strings are not constrained (and all other types). If that wasn't your intention when writing the code, probably a String specialization ofconstrain_idl_propertywould be better.I preserved the quark setting/getting (no idea why it is done this way in the first place). However I wonder if SuperImpl shouldn't simply have two string members, one for author and one for license.