Pretty printing boost::unordered_map on gdb
Posted
by scooterman
on Stack Overflow
See other posts from Stack Overflow
or by scooterman
Published on 2010-05-10T16:57:10Z
Indexed on
2010/05/17
18:00 UTC
Read the original article
Hit count: 226
Hi all,
recently I've started to use the excellent boost::unordered_map on my system, but got one drawback: I couldn't figure how to inspect its contents. Printing it on gdb gives me a table_ and a buckets_, but haven't found where are the items. Anyone has a clue about this?
© Stack Overflow or respective owner