Open DoDoENT opened 4 years ago
Unfortunately, members are partially supported at this point. Once it is fully implemented, I think this specific example should work without annotations. Thanks for reporting this!
The gsl::post
annotation is also only partially supported at this point. Unfortunately, I have hard time to find time working on this lately.
Consider this example:
Should this bug be auto-detectable by
-Wlifetime
? Or it is required to annotatevec
method with[[ gsl::post( lifetime, { this } ) ]]
(AFAIK, this attribute is still not supported).