r240234 - in /trunk/libstdc++-v3: ChangeLog pyt...

redi@gcc.gnu.org redi@gcc.gnu.org
Mon Sep 19 15:49:00 GMT 2016


Author: redi
Date: Mon Sep 19 15:49:27 2016
New Revision: 240234

URL: https://gcc.gnu.org/viewcvs?rev=240234&root=gcc&view=rev
Log:
Improve pretty printer for std::variant

	* python/libstdcxx/v6/printers.py (SingleObjContainerPrinter): Allow
	display_hint to be set by subclasses.
	(StdVariantPrinter): Use array for display_hint. Adjust output to be
	more similar to std::any and std::optional output.
	(register_type_printers): Add type printers for basic_string_view
	typedefs and experimental::any. Adjust type printers for
	fundamentals_v1 templates to match fundamentals_v2 and later.
	* testsuite/libstdc++-prettyprinters/cxx17.cc: New.

Added:
    trunk/libstdc++-v3/testsuite/libstdc++-prettyprinters/cxx17.cc
Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/python/libstdcxx/v6/printers.py



More information about the Libstdc++-cvs mailing list