a849584587
For the atomic specializations for shared_ptr and weak_ptr we can reuse the existing SharedPointerPrinter, with a small tweak. libstdc++-v3/ChangeLog: * python/libstdcxx/v6/printers.py (SharedPointerPrinter): Add support for atomic<shared_ptr<T>> and atomic<weak_ptr<T>>. (StdAtomicPrinter): New printer. (build_libstdcxx_dictionary): Register new printer. * testsuite/libstdc++-prettyprinters/cxx11.cc: Test std::atomic. * testsuite/libstdc++-prettyprinters/cxx20.cc: Test atomic smart pointers. |
||
---|---|---|
.. | ||
48362.cc | ||
59161.cc | ||
80276.cc | ||
91997.cc | ||
compat.cc | ||
cxx11.cc | ||
cxx17.cc | ||
cxx20.cc | ||
debug_cxx11.cc | ||
debug.cc | ||
filesystem-ts.cc | ||
libfundts.cc | ||
prettyprinters.exp | ||
shared_ptr.cc | ||
simple11.cc | ||
simple.cc | ||
tr1.cc | ||
whatis2.cc | ||
whatis.cc |