You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I first opened the "Discussions/Suggestions" #656.
But this is more of a mix of a bug report and suggestion.
I think it fits better in Issues.
PD: Linking between Issues and PRs, and from commits, is recorded,
but not to and from Discussions 👎.
The thread starting at #453 (comment)
demonstrates that it's not feasible to author Cpp2 types with the rule of zero.
You need either non-contextual knowledge of the members involved (so no luck with generic programming),
or attempt to simulate how the language does rule of zero, e.g.:
So I argue that we need a metafunction for the rule of zero.
For my current use case (implementation inheritance),
if I don't need to wrap any constructor,
I can just make it a @struct to employ the rule of zero.
Then I save myself having to apply #453 (comment).
Will your feature suggestion eliminate X% of security vulnerabilities of a given kind in current C++ code?
No.
Will your feature suggestion automate or eliminate X% of current C++ guidance literature?
No.
We take this for granted in Cpp1.
But Cpp2 has no general way of spelling it.
Describe alternatives you've considered.
The suggestion is to port to Cpp2 a feature Cpp1 has.
I can't think of an alternative spelling other than as a metafunction.
The text was updated successfully, but these errors were encountered:
BTW, I was originally aware that this was better fit for Issues.
This is specially true for "suggestions" that would require the template to be filled.
But I felt pressured to use Discussions because a bunch of suggestions are being migrated over there.
I first opened the "Discussions/Suggestions" #656.
But this is more of a mix of a bug report and suggestion.
I think it fits better in Issues.
PD: Linking between Issues and PRs, and from commits, is recorded,
but not to and from Discussions 👎.
Will your feature suggestion eliminate X% of security vulnerabilities of a given kind in current C++ code?
No.
Will your feature suggestion automate or eliminate X% of current C++ guidance literature?
No.
We take this for granted in Cpp1.
But Cpp2 has no general way of spelling it.
Describe alternatives you've considered.
The suggestion is to port to Cpp2 a feature Cpp1 has.
I can't think of an alternative spelling other than as a metafunction.
The text was updated successfully, but these errors were encountered: