[Bug libstdc++/80276] pretty printer for std::unique_ptr<T[]> shows type as std::unique_ptr<T>

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 10 18:04:00 GMT 2018


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

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #5 from Jonathan Wakely <redi at gcc dot gnu.org> ---
We no longer get an error, but don't apply the type printers everywhere that we
should e.g. std::unique_ptr<std::vector<int>[]> is printed as:

type = std::unique_ptr<std::vector<int, std::allocator<int> > []>

And similarly for unique_ptr<vector<int>*>


More information about the Gcc-bugs mailing list