AMP999 wrote: > We (users & implementers) have all collectively identified trivial > relocatability as an important optimization for vector-like containers, and > we're all looking for a solution to that. It feels like this attempt to > standardize this type trait is getting in the way of our collective ability > to add vendor extensions that were not necessarily intended to become > standards-track proposals.
Since people are asking for these semantics in Clang's vendor extension, how would people feel about proceeding in this direction for now, and adding a second type trait, named something like `__is_cpp_trivially_relocatable(T)`, for the P2786 version? https://github.com/llvm/llvm-project/pull/84621 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits