In your particular case, which this definitely is a bug and if only for
missing documentation that you should only use it from classes, you
might regardless be better of with writeln(f.prop.get) because you avoid
the needless copy with memory allocation/deallocation (if done
correctly) of the signal.

Passing f.prop directly should be possible for any function that takes
an int, but not for generic template functions because then you pass the
struct directly.

Best regards,

Robert


Reply via email to