[libcxx-commits] [PATCH] D104682: [libc++] Enable `explicit` conversion operators, even in C++03 mode.

Eli Friedman via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Thu Aug 5 11:56:31 PDT 2021


efriedma added a comment.

This apparently broke compiling the following testcase, reduced from SPEC2006, in c++98 mode:

  #include <istream>
  bool a(std::istream a) {
      return a.getline(0,0) == 0;
  }


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104682/new/

https://reviews.llvm.org/D104682



More information about the libcxx-commits mailing list