[PATCH] D41977: [libc++] Fix PR20855 -- libc++ incorrectly diagnoses illegal reference binding in std::tuple.

Tim Shen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 24 15:15:00 PST 2018


timshen added a comment.

`__can_bind_reference()` doesn't return anything when __reference_binds_to_temporary doesn't exist. This causes builds break with old compilers.

Should it just return true if __reference_binds_to_temporary doesn't exist?


Repository:
  rCXX libc++

https://reviews.llvm.org/D41977





More information about the cfe-commits mailing list