KHicketts wrote: > Thanks, interesting case! > > Hmm, this seems pretty hypothetical right now, as none of the supported > Optional classes have such a structure, IIUC and I'm not sure why one use > CRTP with a custom Optional. > > This is more in case there are very arbitrary other supported Optionals?
this would specifically support https://github.com/google/crubit/blob/main/support/rs_std/option.h which is generated for rust/c++ bindings by Google's Crubit. I was testing this after a conversation with Ethan Smith (https://thunderseethe.dev/) when we were discussing the usefulness of the analyze_as_class attribute for this project https://github.com/llvm/llvm-project/pull/234916 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
