[Bug libstdc++/94032] New: Please provide std::string::__resize_default_init

rafael at espindo dot la gcc-bugzilla@gcc.gnu.org
Wed Mar 4 16:22:00 GMT 2020


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

            Bug ID: 94032
           Summary: Please provide std::string::__resize_default_init
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: rafael at espindo dot la
  Target Milestone: ---

There is a c++ proposal at

http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1072r5.html

and libc++ already has an implementation that is used by abseil:

https://github.com/abseil/abseil-cpp/blob/12bc53e0318d80569270a5b26ccbc62b52022b89/absl/strings/internal/resize_uninitialized.h#L39


More information about the Gcc-bugs mailing list