chrchr-github wrote: Thank for addressing this. I still wonder why using `new`/`delete` with additional UB (deleting pointer with offset) is necessary in the examples. Why not simply define a function taking a pointer argument and do the arithmetic on that?
https://github.com/llvm/llvm-project/pull/108324 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits