Version.Info

Evaluates to version information of S if S is a versioned struct:

- exists: true if S is a versioned struct or false if S is a struct without version or not a struct. If false the other constants are not defined. - number: The value of the struct version (S.Info), expected to be of type Type. - next/prev: Info for S.StructNext or S.StructPrev, respectively - type : type of struct this info belongs to

next/prev are recursive instances of this template so they can be checked for existence by Info!(S).next.exists If that's true the next version number is Info!(S).next.number. The next version itself can contain a next version, use Info!(S).next.next.exists to check it out.

Members

Aliases

Info
alias Info = MissingVersion
Undocumented in source.
next
alias next = Info!(S.StructNext)
Undocumented in source.
next
alias next = MissingVersion
Undocumented in source.
prev
alias prev = Info!(S.StructPrevious)
Undocumented in source.
prev
alias prev = MissingVersion
Undocumented in source.
type
alias type = S
Undocumented in source.

Manifest constants

exists
enum exists;
Undocumented in source.
number
enum number;
Undocumented in source.

Meta