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