K-ballo marked 2 inline comments as done. K-ballo added a comment. In http://reviews.llvm.org/D14839#306306, @EricWF wrote:
> int x = 42; > int const y = 43; > std::pair<int&, int const&> const p(x, y); > static_assert(std::is_same<int const&, > decltype(std::get<0>(std::move(p)))>::value, ""); > static_assert(std::is_same<int const&, > decltype(std::get<1>(std::move(p)))>::value, ""); > > > I assume you agree that this test has the correct behavior? I believe the first `static_assert` is incorrect, `const` is shallow so it should be just `int&`. http://reviews.llvm.org/D14839 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits