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

            Bug ID: 94854
           Summary: Comment in basic_string.tcc incorrectly says
                    std::string doesn't have explicit instantiation in
                    C++17
           Product: gcc
           Version: 9.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: redbeard0531 at gmail dot com
  Target Milestone: ---

https://github.com/gcc-mirror/gcc/blob/0c8217b16f307c3eedce8f22354714938613f701/libstdc%2B%2B-v3/include/bits/basic_string.tcc#L1612-L1617

Looks like the code changed in this commit
https://github.com/gcc-mirror/gcc/commit/1a289fa36294627c252492e4c18d7877a7c80dc1#diff-56639139bdefbe09b8f41c465ebf1ab5,
but the comment wasn't adjusted to match. While I recognize this isn't an issue
for 99.999999999% of users, hopefully if this is fixed it will save someone
else that minute or two of staring at the code trying to reconcile it with the
comment.

Reply via email to