This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/65923] False positive for warning about literal operator suffix and using


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65923

--- Comment #9 from Tony E Lewis <TonyELewis at hotmail dot com> ---
I'm so delighted to see:

  #include <chrono>
  #include <string>

  using std::literals::chrono_literals::operator""s;
  using std::literals::string_literals::operator""s;

...compiling cleaning on Godbolt.

Thanks for this Ville.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]