I was wondering if it's possible to derive one constant from another?
Something like:
struct Foo {
a @0 :Float32;
b @1 :Float32;
};
const oneWay :Foo = ( a = 1.0, b = 2.0 )
const orAnother :Foo = ( a = .oneWay.b, b = .oneWay.a )
And of course expanding this wondering if basic math operations like
negation or even addition/subtraction are supported in these references?
Thanks,
Vitali
--
You received this message because you are subscribed to the Google Groups
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/capnproto/31976e19-18e5-445c-914f-13d1be133f06%40googlegroups.com.