https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65424
Pavel I. Kryukov changed:
What|Removed |Added
CC||pavel.kryukov at phystech dot
edu
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83417
Pavel I. Kryukov changed:
What|Removed |Added
CC||pavel.kryukov at phystech dot
edu
ty: normal
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: pavel.kryukov at phystech dot edu
Target Milestone: ---
`string_view` literal operators should have 'noexcept' specifier according to
the C++17 standard
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685
--- Comment #4 from Pavel I. Kryukov ---
Created attachment 42455
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=42455&action=edit
A string_view literal initialization example
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685
--- Comment #3 from Pavel I. Kryukov ---
I faced the problem because Clang-Tidy warns about possible uncaught exception
if I initialize a global static string_view variable.
It seems that Clang-Tidy simply checks whether `noexcept` is specified,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685
Pavel I. Kryukov changed:
What|Removed |Added
Status|ASSIGNED|RESOLVED
Resolution|---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82685
--- Comment #9 from Pavel I. Kryukov ---
Ok, no problem.
> N.B. the compiler already gives the right answer when asked:
>
> #include
> using namespace std::literals::string_view_literals;
> static_assert(noexcept(""sv"));
JFYI, Clang gives a w
Priority: P3
Component: libstdc++
Assignee: unassigned at gcc dot gnu.org
Reporter: pavel.kryukov at phystech dot edu
Target Milestone: ---
Created attachment 52080
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52080&action=edit
check if __list==this
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103853
--- Comment #5 from Pavel I. Kryukov ---
> Are you willing and able to certify the origin of the code under the terms of
> https://gcc.gnu.org/dco.html ?
Yes. Do I need to resubmit a signed-off patch?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103853
Pavel I. Kryukov changed:
What|Removed |Added
Attachment #52080|0 |1
is obsolete|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103853
--- Comment #10 from Pavel I. Kryukov ---
Thanks a lot!
11 matches
Mail list logo