spec: class: add __ctor, __dtor and __xdtor aliases
Thanks for your pull request, @ljmf00!
Bugzilla references
Your PR doesn't reference any Bugzilla issue.
If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.
Should we also refer to this on structs ?
There's no linked bugzilla issue, so what's the idea behind this PR? It's already specified that identifiers starting with a double underscore are reserved.
There's no linked bugzilla issue, so what's the idea behind this PR? It's already specified that identifiers starting with a double underscore are reserved.
Yes, but this has a special purpose, and as I said above, it is noted in some specification examples such as traits and structs. We should also follow the same struct section, which specifies the behaviour of __postblit and __xpostblit.
@ljmf00 can you please rebase your PR?
@ljmf00 can you please rebase your PR?
Yes, I'll add to my TODO list.
ping @ljmf00