But you cannot initialize a struct with values. A struct should accept being reserved with the following syntax:
thisrec Rec ?
(which is equivalent to the existing syntax of giving no arguments, but more explicit), and it should be possible to initialize with the following syntax:
Currently, you can define structures:
And you can allocate (reserve) space for it:
But you cannot initialize a struct with values. A struct should accept being reserved with the following syntax:
(which is equivalent to the existing syntax of giving no arguments, but more explicit), and it should be possible to initialize with the following syntax:
which would be equivalent to: