PiotrZSL added a comment. And on something like this I still got reproduction in production code:
template <int tagValue, typename T> struct SomeClass { public: explicit SomeClass(T&& value) : value(std::forward<T>(value)) {} T value; }; Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D141569/new/ https://reviews.llvm.org/D141569 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits