https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80276
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> --- Author: redi Date: Tue Jan 9 21:46:13 2018 New Revision: 256400 URL: https://gcc.gnu.org/viewcvs?rev=256400&root=gcc&view=rev Log: PR libstdc++/80276 fix pretty printers for array smart pointers PR libstdc++/80276 * python/libstdcxx/v6/printers.py (SharedPointerPrinter) (UniquePointerPrinter): Print correct template argument, not type of the pointer. (TemplateTypePrinter._recognizer.recognize): Handle failure to lookup a type. * testsuite/libstdc++-prettyprinters/cxx11.cc: Test unique_ptr of array type. * testsuite/libstdc++-prettyprinters/cxx17.cc: Test shared_ptr and weak_ptr of array types. Modified: trunk/libstdc++-v3/ChangeLog trunk/libstdc++-v3/python/libstdcxx/v6/printers.py trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx11.cc trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc