(self, val)
| 379 | """ |
| 380 | |
| 381 | def __init__(self, val): |
| 382 | self.val = val |
| 383 | try: |
| 384 | # libstdc++ internals |
| 385 | self._ptr = val['_M_ptr'] |
| 386 | except gdb.error: |
| 387 | # fallback for other C++ standard libraries |
| 388 | self._ptr = gdb.parse_and_eval(f"{for_evaluation(val)}.get()") |
| 389 | |
| 390 | def get(self): |
| 391 | """ |
nothing calls this directly
no test coverage detected