>> And also, we can't use at-view in struct define? I should use cPtr0() in struct?
You can have at-views in a struct, but handling such views is quite involved. I would not recommend it. On Fri, Aug 19, 2016 at 11:02 PM, Kiwamu Okabe <[email protected]> wrote: > Hi Hongwei, > > ``` > vtypedef struct_foo_impl = $extype_struct"struct foo" of { > a = int, > p = ptr > } > ``` > > And also, we can't use at-view in struct define? I should use cPtr0() in > struct? > > Best regards, > -- > Kiwamu Okabe > > -- > You received this message because you are subscribed to the Google Groups > "ats-lang-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/ats-lang-users. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/ats-lang-users/CAEvX6d%3Dw8Vfi4z7KOUTdUBpZi3kRm- > ab0gq0c7NCvPS_mHR6pw%40mail.gmail.com. > -- You received this message because you are subscribed to the Google Groups "ats-lang-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/ats-lang-users. To view this discussion on the web visit https://groups.google.com/d/msgid/ats-lang-users/CAPPSPLq9Xmar0heGGAR1zUOFg514tdR76Nr6aGmWoXPC7cAanA%40mail.gmail.com.
