(StdPrinter, value)
| 175 | |
| 176 | |
| 177 | def _std_values(StdPrinter, value): |
| 178 | printer = StdPrinter('', value) |
| 179 | try: |
| 180 | values = printer.children() |
| 181 | except AttributeError as ex: |
| 182 | print( |
| 183 | 'The following exception is a bug in libstdcxx. This is a patch that might fix', |
| 184 | 'this:', |
| 185 | ' https://sourceware.org/pipermail/libstdc++/2020-December/051773.html', |
| 186 | 'However it can also be fixed by switching to a frame of a C++ function', |
| 187 | 'and trying again.', |
| 188 | sep='\n', file=sys.stderr) |
| 189 | raise ex |
| 190 | for e in values: |
| 191 | yield e[1] |
| 192 | |
| 193 | def std_vector_values(value): |
| 194 | import libstdcxx |
no test coverage detected